Re: [PATCH] staging: most: cdev: fix chrdev_region leak in mod_exit

2019-05-01 Thread Greg Kroah-Hartman
On Wed, Apr 24, 2019 at 09:23:43PM +0200, Eugeniu Rosca wrote: > From: Suresh Udipi > > It looks like v4.18-rc1 commit [0] which upstreams mld-1.8.0 > commit [1] missed to fix the memory leak in mod_exit function. > > Do it now. > > [0] aba258b7310167 ("staging: most: cdev: fix chrdev_region le

[PATCH] staging: rtl8723bs: core: Prefer using the BIT Macro.

2019-05-01 Thread Vatsala Narang
Replace bit shifting on 1 with the BIT(x) macro. Issue found using coccinelle. Signed-off-by: Vatsala Narang --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/sta

[PATCH] staging: rtl8723bs: core: Use !x in place of NULL comparison.

2019-05-01 Thread Vatsala Narang
Avoid NULL comparison, compare using boolean operator. Issue found using coccinelle. Signed-off-by: Vatsala Narang --- drivers/staging/rtl8723bs/core/rtw_io.c | 2 +- drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dri

[PATCH] staging: kpc2000: fix up build problems with readq()

2019-05-01 Thread Greg Kroah-Hartman
The 0-day system found a bunch of warnings for when readq() is not defined on the platform, so fix this by including the linux/io-64-nonatomic-lo-hi.h file which will fix up these issues. Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- drivers/staging/kpc2000/kpc2000/cell_p

[PATCH] staging: iio: adc: Add paragraph to describe Kconfig symbol

2019-05-01 Thread Vatsala Narang
This patch updates Kconfig with paragraph that describe config symbol fully.Issue addressed by checkpatch. Signed-off-by: Vatsala Narang --- drivers/staging/iio/adc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig in