[PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2016-10-03 Thread Long Li
From: Long Li A PCI_EJECT message can arrive at the same time we are calling pci_scan_child_bus in the workqueue for the previous PCI_BUS_RELATIONS message or in create_root_hv_pci_bus(), in this case we could potentailly modify the bus from multiple places. Properly lock the bus access. Than

[PATCH 1/2 v3] pci-hyperv: properly handle pci bus remove

2016-10-03 Thread Long Li
From: Long Li hv_pci_devices_present is called in hv_pci_remove when we remove a PCI device from host (e.g. by disabling SRIOV on a device). In hv_pci_remove, the bus is already removed before the call, so we don't need to rescan the bus in the workqueue scheduled from hv_pci_devices_present.

Re: [PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
El 2016年10月03日 a las 20:18, Joe Perches escribió: On Mon, 2016-10-03 at 20:12 +0200, Sergio Paracuellos wrote: El 2016年10月03日 a las 18:16, Joe Perches escribió: Perhaps better as hw->scanresults = kmemdup(inf, sizeof(*inf), GFP_ATOMIC); I agree. But because all the code is full of sizeo

Re: [PATCH v4] staging: greybus: Fix a commit coding style issue.

2016-10-03 Thread Vaishali Thakkar
On Monday 03 October 2016 04:21 PM, Sidhant Gupta wrote: > Fixes a comment coding style warning by adding 2 blank lines. Issue > found by checkpatch. > > Signed-off-by: Sidhant Gupta Reviewed-by: Vaishali Thakkar > --- > > Changes since v3: > * Corrected checkpatch.pl error earlier caused b

Re: [PATCH] staging: greybus: fix block comment

2016-10-03 Thread Viresh Kumar
On Mon, Oct 3, 2016 at 8:15 PM, Hisao Tanabe wrote: > This patch fix the coding style problem of block comment detected by the > checkpatch.pl. > > WARNING: Block comments use a trailing */ on a separate line > > Signed-off-by: Hisao Tanabe > --- > drivers/staging/greybus/arche-apb-ctrl.c | 8 ++

Re: [PATCH 4/8] staging: rts5208: Logical continuation fixes

2016-10-03 Thread Joe Perches
On Mon, 2016-10-03 at 23:17 +, Wayne Porter wrote: > Checkpatch detected multiple instances of logical continuation warnings [] > diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c [] > @@ -819,11 +819,11 @@ static int reset_xd(struct rtsx_chip *chip) >

[PATCH 7/8] staging: rts5208: xd.c: Fix CamelCase

2016-10-03 Thread Wayne Porter
Covert CamelCase as checkpatch suggests Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index ccc5dd9..ad16672 10064

[PATCH 8/8] staging: rts5208: xd.c: Remove multiple assignments

2016-10-03 Thread Wayne Porter
Checkpatch found multiple assignments on one line so move them to their own lines. Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index ad16672..f1b1090

[PATCH 6/8] staging: rts5208: xd.c: Clean up comparison to NULL

2016-10-03 Thread Wayne Porter
Checkpatch recommended changes Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 4d8733f..ccc5dd9 100644 --- a/drivers/staging/rts5208/xd.c

[PATCH 5/8] staging: rts5208: xd.c: Remove unnecessary parentheses

2016-10-03 Thread Wayne Porter
Issues found with checkpatch Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 604740f..4d8733f 100644 -

[PATCH 4/8] staging: rts5208: Logical continuation fixes

2016-10-03 Thread Wayne Porter
Checkpatch detected multiple instances of logical continuation warnings Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index

[PATCH 3/8] staging: rts5208: Alignment fix

2016-10-03 Thread Wayne Porter
Coding style checks found by checkpatch Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 332 +++ 1 file changed, 179 insertions(+), 153 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 1fab4ee..e3a

[PATCH 1/8] staging: rts5208: Fix CamelCase found by checkpatch

2016-10-03 Thread Wayne Porter
Convert CamelCase to recommended style. Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.c | 8 drivers/staging/rts5208/xd.h | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 1de02bb..

[PATCH 2/8] staging: rts5208: xd.h: Alignment fix

2016-10-03 Thread Wayne Porter
Change alignment to match open parenthesis Signed-off-by: Wayne Porter --- drivers/staging/rts5208/xd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/xd.h b/drivers/staging/rts5208/xd.h index 675b0bf..33ad1f4 100644 --- a/drivers/staging/rts5208/xd.h

[PATCH 0/8] staging: rts5208: Cleanup

2016-10-03 Thread Wayne Porter
This patchset is just clean-up in xd.c and xd.h in the rts5208 driver. All checkpatch.pl issues have been resolved except for lines over 80 characters. Most of those should be refactored. Wayne Porter (8): staging: rts5208: Fix CamelCase found by checkpatch staging: rts5208: xd.h: Alignment fi

Re: [PATCH] [media] : Removing warnings caught by checkpatch.pl

2016-10-03 Thread Andrey Utkin
On Sun, Oct 02, 2016 at 02:30:45AM +0530, Harman Kalra wrote: > static int iss_video_queue_setup(struct vb2_queue *vq, > - unsigned int *count, unsigned int *num_planes, > - unsigned int sizes[], struct device > *alloc_devs[]) > +

Re: [PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
El 2016年10月03日 a las 18:16, Joe Perches escribió: On Mon, 2016-10-03 at 18:04 +0200, Sergio Paracuellos wrote: This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 characters [] diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/p

Re: [PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Joe Perches
On Mon, 2016-10-03 at 18:04 +0200, Sergio Paracuellos wrote: > This patch fix the following checkpatch.pl warnings in prism2sta.c: > WARNING: line over 80 characters [] > diff --git a/drivers/staging/wlan-ng/prism2sta.c > b/drivers/staging/wlan-ng/prism2sta.c [] > @@ -1099,7 +1101,8 @@ static void

[PATCH] staging: wlang-ng: get memory from kernel allocators instead of big static buffer

2016-10-03 Thread Sergio Paracuellos
This patch fix the following sparse warnings in prism2fw.c: warning: memset with byte count of 12 Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b/dri

[PATCH 11/15] staging: wlang-ng: fix block comment warnings in prism2mgmt.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mgmt.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.c | 518 ++---

[PATCH 14/15] staging: wlang-ng: fix line style warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drive

[PATCH 10/15] staging: wlang-ng: fix line style warnings in p80211wep.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers/st

[PATCH 02/15] staging: wlang-ng: fix block comment warnings in hfa384x_usb.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 2370 +--

[PATCH 06/15] staging: wlang-ng: do not return -ENOSYS

2016-10-03 Thread Sergio Paracuellos
Fixed coding style issue by replacing ENOSYS with EINVAL. This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: ENOSYS means 'invalid syscall nr' and nothing else Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3

[PATCH 01/15] staging: wlang-ng: fix line style warnings in hfa384x_usb.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in hfa384x_usb.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x_usb.c | 71 +++ 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/drivers/sta

[PATCH 04/15] staging: wlang-ng: fix line style warnings in p80211netdev.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c

[PATCH 00/15] staging: wlang-ng: Fix several style issues in several source files.

2016-10-03 Thread Sergio Paracuellos
This patch series fix some of the following checkpatch.pl reported warnings: WARNING: line over 80 characters WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line WARNING: ENOSYS means 'invalid syscall nr' and nothing else Sergio Para

[PATCH 8/9] staging: wlang-ng: fix block comments style in p80211req.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211req.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a

[PATCH 1/9] staging: wlang-ng: fix block comments style in p80211conv.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211conv.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.h | 100 +-- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git

[PATCH 7/9] staging: wlang-ng: fix block comments style in p80211netdev.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211netdev.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.h | 100 - 1 file changed, 50 insertions(+), 50 deletions(-) diff --gi

[PATCH 3/9] staging: wlang-ng: fix block comments style in p80211ioctl.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211ioctl.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211ioctl.h | 120 +- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git

[PATCH 6/9] staging: wlang-ng: fix block comments style in p80211msg.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211msg.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211msg.h | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a

[PATCH 2/9] staging: wlang-ng: fix block comments style in p80211hdr.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211hdr.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211hdr.h | 114 ++-- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git

[PATCH 5/9] staging: wlang-ng: fix block comments style in p80211mgmt.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211mgmt.h: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211mgmt.h | 194 +-- 1 file changed, 97 insertions(+), 97 deletions(-) diff --g

[PATCH 9/9] staging: wlang-ng: fix block comments style in prism2mgmt.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in prism2mgmt.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mgmt.h | 122 ++- 1 file changed, 62 insertions(+), 60 deletions(-) diff --git

[PATCH 4/9] staging: wlang-ng: fix block comments style in p80211metadef.h

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in p80211metadef.h Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211metadef.h | 88 - 1 file changed, 44 insertions(+), 44 deletions(-) diff --g

[PATCH 0/9] staging: wlang-ng: fix block comments style warning in header files

2016-10-03 Thread Sergio Paracuellos
This patch series fix checkpatch.pl script reported warning Block comments should align the * on each line Sergio Paracuellos (9): staging: wlang-ng: fix block comments style in p80211conv.h staging: wlang-ng: fix block comments style in p80211hdr.h staging: wlang-ng: fix block comments style

[PATCH] staging: wlang-ng: avoid new typedef CTLX_STATE

2016-10-03 Thread Sergio Paracuellos
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef CTLX_STATE Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/hfa384x.h | 3 +-- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- 2 files changed, 2 insertions(

[PATCH 09/15] staging: wlang-ng: fix block comment warnings in p80211wep.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211wep.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211wep.c | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) dif

[PATCH 13/15] staging: wlang-ng: fix block comment warnings in prism2sta.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2sta.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2sta.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff

[PATCH 15/15] staging: wlang-ng: fix block comment warnings in prism2fw.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2fw.c WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2fw.c | 485 +++---

[PATCH 12/15] staging: wlang-ng: fix block comment warnings in prism2mib.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in prism2mib.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/prism2mib.c | 100 ++-- 1 file changed, 50 insertions(+), 50 deletions(-) dif

[PATCH 07/15] staging: wlang-ng: fix block comment warnings in p80211req.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 166 ++-

[PATCH 05/15] staging: wlang-ng: fix block comment warnings in p80211netdev.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211netdev.c: WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211netdev.c | 613 +

[PATCH 03/15] staging: wlang-ng: fix block comment warnings in p80211conv.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211conv.c: WARNING: Block comments should align the * on each line Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211conv.c | 318 +-- 1 file changed, 159 insertions(+), 159 deletions(-)

[PATCH 08/15] staging: wlang-ng: fix line style warnings in p80211req.c

2016-10-03 Thread Sergio Paracuellos
This patch fix the following checkpatch.pl warnings in p80211req.c: WARNING: line over 80 characters Signed-off-by: Sergio Paracuellos --- drivers/staging/wlan-ng/p80211req.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers/

[PATCH] staging: greybus: fix block comment

2016-10-03 Thread Hisao Tanabe
This patch fix the coding style problem of block comment detected by the checkpatch.pl. WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Hisao Tanabe --- drivers/staging/greybus/arche-apb-ctrl.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v4] staging: greybus: Fix a commit coding style issue.

2016-10-03 Thread Viresh Kumar
On Mon, Oct 3, 2016 at 4:21 PM, Sidhant Gupta wrote: > Fixes a comment coding style warning by adding 2 blank lines. Issue > found by checkpatch. > > Signed-off-by: Sidhant Gupta > --- > > Changes since v3: > * Corrected checkpatch.pl error earlier caused by this patch. > > drivers/staging/greyb

Re: [PATCH v4] staging: greybus: Fix a commit coding style issue.

2016-10-03 Thread Johan Hovold
On Mon, Oct 03, 2016 at 04:21:09PM +0530, Sidhant Gupta wrote: > Fixes a comment coding style warning by adding 2 blank lines. Issue > found by checkpatch. > > Signed-off-by: Sidhant Gupta Acked-by: Johan Hovold Thanks, Johan ___ devel mailing list de

[PATCH v4] staging: greybus: Fix a commit coding style issue.

2016-10-03 Thread Sidhant Gupta
Fixes a comment coding style warning by adding 2 blank lines. Issue found by checkpatch. Signed-off-by: Sidhant Gupta --- Changes since v3: * Corrected checkpatch.pl error earlier caused by this patch. drivers/staging/greybus/arche-apb-ctrl.c | 6 -- 1 file changed, 4 insertions(+), 2 dele

Re: [PATCH] [media] v4l: omap4iss: Fix using BIT macro

2016-10-03 Thread Mauro Carvalho Chehab
Em Sat, 1 Oct 2016 16:37:46 -0700 Wayne Porter escreveu: > Checks found by checkpatch > > Signed-off-by: Wayne Porter > --- > drivers/staging/media/omap4iss/iss_regs.h | 76 > +++ > 1 file changed, 38 insertions(+), 38 deletions(-) > > diff --git a/drivers/staging

Re: [PATCH] [media] v4l: omap4iss: Fix using BIT macro

2016-10-03 Thread Laurent Pinchart
On Monday 03 Oct 2016 06:58:22 Mauro Carvalho Chehab wrote: > Em Sat, 1 Oct 2016 16:37:46 -0700 Wayne Porter escreveu: > > Checks found by checkpatch > > > > Signed-off-by: Wayne Porter > > --- > > > > drivers/staging/media/omap4iss/iss_regs.h | 76 -- > > 1 file changed

Re: [PATCH] [media] v4l: omap4iss: Fix using BIT macro

2016-10-03 Thread Laurent Pinchart
Hi Wayne, Thank you for the patch. On Saturday 01 Oct 2016 16:37:46 Wayne Porter wrote: > Checks found by checkpatch > > Signed-off-by: Wayne Porter > --- > drivers/staging/media/omap4iss/iss_regs.h | 76 +--- > 1 file changed, 38 insertions(+), 38 deletions(-) > > diff

Re: [PATCH] [media] : Removing warnings caught by checkpatch.pl

2016-10-03 Thread Laurent Pinchart
Hello Harman, Thank you for the patch. The subject of your commit message should at least contain the name of the driver. Furthermore, you can mention that the patch originates from warnings output by checkpatch.pl, but the subject should describe what you fix (in this case what type of warnin

Re: [PATCH v2 3/3] staging: greybus: light: check delay_{on|off} before use

2016-10-03 Thread Viresh Kumar
On Fri, Sep 30, 2016 at 11:54 PM, Rui Miguel Silva wrote: > Even though we trust leds core that the pointers should be valid, we are > safer to check delay_{on|off} before use. As these routines are getting called from core, I am not sure if it will be right to have such checks. Though, I saw th

Re: [PATCH v2 2/3] staging: greybus: light: fix attributes allocation

2016-10-03 Thread Viresh Kumar
On Fri, Sep 30, 2016 at 11:54 PM, Rui Miguel Silva wrote: > Fix allocation of attributes with the correct size, this also fix smatch > warning: > > drivers/staging/greybus/light.c:293 channel_attr_groups_set() > warn: double check that we're allocating correct size: 8 vs 16 > > Signed-off-by: Rui

Re: [PATCH v2 1/3] staging: greybus: sdio: fix cmd_flags check for none response

2016-10-03 Thread Viresh Kumar
On Fri, Sep 30, 2016 at 11:54 PM, Rui Miguel Silva wrote: > When checking for command flags field if response is not available we > really need to compare it with the right define and not bitwise AND it. > > smatch warn: > drivers/staging/greybus/sdio.c:481 gb_sdio_command() > warn

Re: [PATCH] staging: lustre: ko2iblbd: handle ib_dereg_mr removal

2016-10-03 Thread Christoph Hellwig
Hell no. If you had actually read the changelog you'd see that there is a reason the functions went away, and simply calling the underlying methods (which also will go away) will not fix it. Please go back reading the changelogs, and while we're at it read some basic introductions into the RDMA p