Re: [alsa-devel] [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Takashi Iwai
On Mon, 18 Dec 2017 01:28:44 +0100, Joe Perches wrote: > > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these

Re: [PATCH] scsi: hisi_sas: fix a warning reported by sparse

2017-12-18 Thread Martin K. Petersen
chenxiang, > The type of function pci_choose_state's return value is pci_power_t > while we define it as a u32. A warning will be reported by sparse. So > change u32 into pci_power_t. Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que

2017-12-18 Thread Martin K. Petersen
Himanshu, > This patch fixes following warnings reported by smatch > > drivers/scsi/qla2xxx/qla_mid.c:586 qla25xx_delete_req_que() > error: we previously assumed 'req' could be null (see line 580) > > drivers/scsi/qla2xxx/qla_mid.c:602 qla25xx_delete_rsp_que() > error: we previously assumed 'rsp'

Re: [PATCH] scsi: check for device state in __scsi_remove_target()

2017-12-18 Thread Martin K. Petersen
Hannes, > As it turned out device_get() doesn't use kref_get_unless_zero(), > so we will be always getting a device pointer. > So we need to check for the device state in __scsi_remove_target() > to avoid tripping over deleted objects. Applied to 4.15/scsi-fixes. Thanks! -- Martin K. Petersen

Re: [PATCH] qedi: Fix a possible sleep-in-atomic bug in qedi_process_tmf_resp

2017-12-18 Thread Martin K. Petersen
Jia-Ju, > To fix it, GFP_KERNEL is replaced with GFP_ATOMIC. > > This bug is found by my static analysis tool(DSAC) and checked by my > code review. Applied to 4.16/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Martin K. Petersen
Joe, > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. SCSI bits look OK. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: hisi_sas: fix a warning reported by sparse

2017-12-18 Thread chenxiang
The type of function pci_choose_state's return value is pci_power_t while we define it as a u32. A warning will be reported by sparse. So change u32 into pci_power_t. Signed-off-by: Xiang Chen --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Alexandre Belloni
On 17/12/2017 at 16:28:44 -0800, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these modifi

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Dave Chinner
On Sun, Dec 17, 2017 at 04:28:44PM -0800, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for the

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Darrick J. Wong
On Sun, Dec 17, 2017 at 04:28:44PM -0800, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for the

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Alex Deucher
On Sun, Dec 17, 2017 at 7:28 PM, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these modifie

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Paul Moore
On Sun, Dec 17, 2017 at 7:28 PM, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these modifie

Re: Distress Call Please don't ignore

2017-12-18 Thread Sandra Younes
Good Day, Forgive my indignation if this message comes to you as a surprise and may offend your personality for contacting you without your prior consent and writing through this channel. I came across your name and contact on the course of my personal searching when i was searching for a fore

Re: [PATCH v16 2/4] net: e100: Replace PCI pool old API

2017-12-18 Thread David Miller
From: Romain Perier Date: Fri, 15 Dec 2017 20:31:21 +0100 > From: Romain Perier > > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier > Acked-by: Peter Senna Tschudin > Acked-by: Jef

Re: [PATCH v16 3/4] hinic: Replace PCI pool old API

2017-12-18 Thread David Miller
From: Romain Perier Date: Fri, 15 Dec 2017 20:31:22 +0100 > From: Romain Perier > > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier Acked-by: David S. Miller

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Rafael J. Wysocki
On Monday, December 18, 2017 1:28:44 AM CET Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for t

RE: Driver version for PMC Adaptec HBA in Linux and from vendor

2017-12-18 Thread Raghava Aditya Renukunta
Hi Paul, > -Original Message- > From: Paul Menzel [mailto:pmen...@molgen.mpg.de] > Sent: Saturday, December 16, 2017 1:39 AM > To: Raghava Aditya Renukunta > ; dl-esc-Aacraid Linux Driver > > Cc: linux-scsi@vger.kernel.org; it+linux-s...@vger.kernel.org > Subject: Re: Driver version for

Re: [PATCH] scsi: check for device state in __scsi_remove_target()

2017-12-18 Thread Ewan D. Milne
On Thu, 2017-12-14 at 17:10 -0500, Ewan D. Milne wrote: > On Thu, 2017-12-14 at 10:02 +0100, Hannes Reinecke wrote: > > On 12/14/2017 09:05 AM, Jason Yan wrote: > > > > > > On 2017/12/14 6:23, Bart Van Assche wrote: > > >> On Wed, 2017-12-13 at 14:21 +0100, Hannes Reinecke wrote: > > >>> As it tur

Re: [trivial PATCH] treewide: Align function definition open/close braces

2017-12-18 Thread Andy Shevchenko
On Mon, Dec 18, 2017 at 2:28 AM, Joe Perches wrote: > Some functions definitions have either the initial open brace and/or > the closing brace outside of column 1. > > Move those braces to column 1. > > This allows various function analyzers like gnu complexity to work > properly for these modifie

Re: scsi_devinfo: devices and pattern matching

2017-12-18 Thread Hannes Reinecke
On 12/16/2017 02:31 PM, Xose Vazquez Perez wrote: > Hi, > > After last pattern matching changes, maybe some entries should be revised: > > > Empty strings(current meaning?): > {"", "Scanner", "1.80", BLIST_NOLUN}, /* responds to all lun */ > {"Promise", "", NULL, BLIST_SPARSELUN},

Re: [PATCH 2/3] virtio-scsi: Add FC transport class

2017-12-18 Thread Hannes Reinecke
On 12/15/2017 07:08 PM, Steffen Maier wrote: > > On 12/14/2017 11:11 AM, Hannes Reinecke wrote: >> When a device announces an 'FC' protocol we should be pulling >> in the FC transport class to have the rports etc setup correctly. > > It took some time for me to understand what this does. > It see