Re: [PATCH v2] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Greg KH
On Wed, Feb 10, 2021 at 06:30:45AM +0530, Mukul Mehar wrote: > This patch fixes a warning, of the line ending with a '(', > generated by checkpatch.pl. > > Signed-off-by: Mukul Mehar > --- > Changes since v1: > - Fixed indentation. > --- > drivers/staging/most/sound/sound.c | 6 +++--- > 1

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-09 Thread karthek
On Wed, Feb 10, 2021 at 10:27:17AM +0300, Dan Carpenter wrote: > On Wed, Feb 10, 2021 at 12:23:17AM +0530, karthik alapati wrote: > > fix checkpatch.pl warning for "block comments should align the * on each > > line" > > > > Signed-off-by: karthik alapati > > --- > >

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-09 Thread Dan Carpenter
On Wed, Feb 10, 2021 at 12:23:17AM +0530, karthik alapati wrote: > fix checkpatch.pl warning for "block comments should align the * on each line" > > Signed-off-by: karthik alapati > --- > .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 204 +- > 1 file changed, 102

[PATCH v1] media: atomisp: fix compiler warning

2021-02-09 Thread Tong Zhang
should use %zu for size_t type, otherwise compiler will complain drivers/staging/media/atomisp/pci/hmm/hmm.c:272:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 272 | "%s: pages: 0x%08x (%ld bytes), type: %d from

[PATCH v1] media: atomisp add auto selection to prevent ce

2021-02-09 Thread Tong Zhang
VIDEO_ATOMISP depends on VIDEO_V4L2_SUBDEV_API, if VIDEO_V4L2_SUBDEV_API is not selected, it will cause compilation error drivers/staging/media/atomisp/pci/atomisp_cmd.c:6079:42: error: ‘struct v4l2_subdev_fh’ has no member named ‘pad’ atomisp_subdev_set_ffmt (>subdev, fh.pad,

[driver-core:driver-core-testing] BUILD SUCCESS 3c9ea42802a1fbf7ef29660ff8c6e526c58114f6

2021-02-09 Thread kernel test robot
powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a006-20210209 x86_64 randconfig-a001-20210209 x86_64 randconfig-a005-20210209 x86_64

[PATCH v2] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Mukul Mehar
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl. Signed-off-by: Mukul Mehar --- Changes since v1: - Fixed indentation. --- drivers/staging/most/sound/sound.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] staging: rtl8723bs: fix function comments to follow kernel-doc

2021-02-09 Thread karthik alapati
fix checkpatch.pl warning for "block comments should align the * on each line" and make function comments follow kernel-doc Signed-off-by: karthik alapati --- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 209 -- 1 file changed, 91 insertions(+), 118 deletions(-) diff --git

Re: [PATCH v2] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Greg KH
On Wed, Feb 10, 2021 at 01:01:47AM +0530, ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Stack allocated buffers cannot be used for DMA > on all architectures so allocate hci_packet buffer > using kzalloc(). > > Signed-off-by: Amey Narkhede > --- > drivers/staging/gdm724x/gdm_usb.c

Re: [PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Amey Narkhede
On 21/02/09 06:40PM, Greg KH wrote: > On Tue, Feb 09, 2021 at 08:24:15PM +0530, ameynarkhed...@gmail.com wrote: > > From: Amey Narkhede > > > > Stack allocated buffers cannot be used for DMA > > on all architectures so allocate usbdev buffer > > using kmalloc(). > > > > Signed-off-by: Amey

[PATCH v2] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread ameynarkhede03
From: Amey Narkhede Stack allocated buffers cannot be used for DMA on all architectures so allocate hci_packet buffer using kzalloc(). Signed-off-by: Amey Narkhede --- drivers/staging/gdm724x/gdm_usb.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-09 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2021 at 12:23:17AM +0530, karthik alapati wrote: > fix checkpatch.pl warning for "block comments should align the * on each line" > > Signed-off-by: karthik alapati > --- > .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 204 +- > 1 file changed, 102

[PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-09 Thread karthik alapati
fix checkpatch.pl warning for "block comments should align the * on each line" Signed-off-by: karthik alapati --- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 204 +- 1 file changed, 102 insertions(+), 102 deletions(-) diff --git

Re: [PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Dan Carpenter
On Tue, Feb 09, 2021 at 08:24:15PM +0530, ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Stack allocated buffers cannot be used for DMA > on all architectures so allocate usbdev buffer > using kmalloc(). > > Signed-off-by: Amey Narkhede > --- > drivers/staging/gdm724x/gdm_usb.c | 6

Re: [PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Greg KH
On Tue, Feb 09, 2021 at 08:24:15PM +0530, ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Stack allocated buffers cannot be used for DMA > on all architectures so allocate usbdev buffer > using kmalloc(). > > Signed-off-by: Amey Narkhede > --- > drivers/staging/gdm724x/gdm_usb.c | 6

Re: [PATCH] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Greg KH
On Tue, Feb 09, 2021 at 06:36:19PM +0530, Mukul Mehar wrote: > This patch fixes a warning, of the line ending with a '(', > generated by checkpatch.pl. > > Signed-off-by: Mukul Mehar > --- > drivers/staging/most/sound/sound.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-)

Re: [PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/ameynarkhede03-gmail-com/staging-gdm724x-Fix-DMA-from-stack/20210209-225530 base: https://git.kernel.org/pub/scm/linux/kernel/git

[PATCH] staging: rtl8712: Remove multiple blank lines

2021-02-09 Thread Aakash Hemadri
Fix checkpatch.pl CHECK: CHECK: Please don't use multiple blank lines Signed-off-by: Aakash Hemadri --- This is my first patch. Done as a part of the linux-kernel-mentees program and as the 10th task on eudyptula to fix style checks. drivers/staging/rtl8712/rtl871x_debug.h | 2 -- 1 file

Re: [PATCH v2 2/4] hwmon: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Guenter Roeck
On Tue, Feb 09, 2021 at 07:08:17PM +0800, Yicong Yang wrote: > From: Junhao He > > We use ccflags-$(CONFIG_HWMON_DEBUG_CHIP) for the debug > message in drivers/hwmon, but the DEBUG flag will not pass to > the subdirectory. > > Considering CONFIG_HWMON_DEBUG_CHIP intends to have DEBUG >

[PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread ameynarkhede03
From: Amey Narkhede Stack allocated buffers cannot be used for DMA on all architectures so allocate usbdev buffer using kmalloc(). Signed-off-by: Amey Narkhede --- drivers/staging/gdm724x/gdm_usb.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v3] drivers: most: add ALSA sound driver

2021-02-09 Thread Christian Gromm
This patch moves the ALSA sound driver out of the staging area and adds it to the stable part of the MOST driver. Modifications to the Makefiles and Kconfigs are done accordingly to not break the build. Signed-off-by: Christian Gromm --- v2: Reported-by: Greg Kroah-Hartman

[PATCH] staging: rtl8723bs: remove typedefs from rtl8723b_recv.h

2021-02-09 Thread Phillip Potter
Remove typedefs from include/rtl8723b_recv.h and convert one usage in hal/rtl8723bs_recv.c to use the actual structure name in its pointer declaration. Fixes two checkpatch warnings. Signed-off-by: Phillip Potter --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c| 2 +-

Re: [PATCH AUTOSEL 5.10 14/36] media: rkisp1: uapi: change hist_bins array type from __u16 to __u32

2021-02-09 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 02:39:41PM +0100, Hans Verkuil wrote: > On 09/02/2021 14:02, Greg Kroah-Hartman wrote: > > On Tue, Feb 09, 2021 at 01:45:35PM +0100, Dafna Hirschfeld wrote: > >> > >> > >> Am 08.02.21 um 21:46 schrieb Hans Verkuil: > >>> On 08/02/2021 18:57, Sasha Levin wrote: > From:

Re: [PATCH AUTOSEL 5.10 14/36] media: rkisp1: uapi: change hist_bins array type from __u16 to __u32

2021-02-09 Thread Hans Verkuil
On 09/02/2021 14:02, Greg Kroah-Hartman wrote: > On Tue, Feb 09, 2021 at 01:45:35PM +0100, Dafna Hirschfeld wrote: >> >> >> Am 08.02.21 um 21:46 schrieb Hans Verkuil: >>> On 08/02/2021 18:57, Sasha Levin wrote: From: Dafna Hirschfeld [ Upstream commit

[PATCH] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Mukul Mehar
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl. Signed-off-by: Mukul Mehar --- drivers/staging/most/sound/sound.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/most/sound/sound.c

Re: [PATCH AUTOSEL 5.10 14/36] media: rkisp1: uapi: change hist_bins array type from __u16 to __u32

2021-02-09 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 01:45:35PM +0100, Dafna Hirschfeld wrote: > > > Am 08.02.21 um 21:46 schrieb Hans Verkuil: > > On 08/02/2021 18:57, Sasha Levin wrote: > > > From: Dafna Hirschfeld > > > > > > [ Upstream commit 31f190e0ccac8b75d33fdc95a797c526cf9b149e ] > > > > > > Each entry in the

Re: [PATCH] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Greg KH
On Tue, Feb 09, 2021 at 06:20:37PM +0530, Mukul Mehar wrote: > This patch fixes a warning, of the line ending with a '(', > generated by checkpatch.pl. > > Signed-off-by: Mukul Mehar > --- > drivers/staging/most/sound/sound.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-)

[PATCH] Drivers: staging: most: sound: Fixed styling issue.

2021-02-09 Thread Mukul Mehar
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl. Signed-off-by: Mukul Mehar --- drivers/staging/most/sound/sound.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/most/sound/sound.c

Re: [PATCH AUTOSEL 5.10 14/36] media: rkisp1: uapi: change hist_bins array type from __u16 to __u32

2021-02-09 Thread Dafna Hirschfeld
Am 08.02.21 um 21:46 schrieb Hans Verkuil: On 08/02/2021 18:57, Sasha Levin wrote: From: Dafna Hirschfeld [ Upstream commit 31f190e0ccac8b75d33fdc95a797c526cf9b149e ] Each entry in the array is a 20 bits value composed of 16 bits unsigned integer and 4 bits fractional part. So the type

Re: [PATCH v2 3/4] pps: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Rodolfo Giometti
On 09/02/21 12:08, Yicong Yang wrote: > From: Junhao He > > We use ccflags-$(CONFIG_PPS_DEBUG) for the debug > message in drivers/pps, but the DEBUG flag will not pass to > the subdirectory. > > Considering CONFIG_HWMON_DEBUG_CHIP intends to turn on debug > recursively under driver/pps, so it

[PATCH] staging: rtl8723bs: fix blank lines and comments in rtl8723b_hal.h

2021-02-09 Thread Phillip Potter
Remove unnecessary blank line, and move close of multiple-line comments to their own trailing lines. This fixes four checkpatch warnings and one checkpatch check notice for the include/rtl8723b_hal.h file. Signed-off-by: Phillip Potter --- drivers/staging/rtl8723bs/include/rtl8723b_hal.h | 13

[PATCH v2 4/4] staging: comedi: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Yicong Yang
From: Junhao He As CONFIG_COMEDI_DEBUG intends to have the DEBUG flag recursively under drivers/staging/comedi, use subdir-ccflags-* instead of ccflags-* will make it clearer as the DEBUG flag will be inherited when traversing subdirectories. Suggested-by: Bjorn Helgaas Signed-off-by: Junhao

[PATCH v2 0/4] Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Yicong Yang
Few drivers use ccflags-* in their top directory to enable -DDEBUG, but don't have config options to enable debug in the sub-directories, or they use per subdirectory ccflags-* to have DEBUG with the same kconfig option. Considering they intends to enable debug for all the files under the

[PATCH v2 2/4] hwmon: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Yicong Yang
From: Junhao He We use ccflags-$(CONFIG_HWMON_DEBUG_CHIP) for the debug message in drivers/hwmon, but the DEBUG flag will not pass to the subdirectory. Considering CONFIG_HWMON_DEBUG_CHIP intends to have DEBUG recursively in driver/hwmon. It will be clearer to use subdir-ccflags-* instead of

[PATCH v2 3/4] pps: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Yicong Yang
From: Junhao He We use ccflags-$(CONFIG_PPS_DEBUG) for the debug message in drivers/pps, but the DEBUG flag will not pass to the subdirectory. Considering CONFIG_HWMON_DEBUG_CHIP intends to turn on debug recursively under driver/pps, so it will be clearer to use subdir-ccflags-* instead of

[PATCH v2 1/4] driver core: Use subdir-ccflags-* to inherit debug flag

2021-02-09 Thread Yicong Yang
From: Junhao He Currently we can turn on the debug message in the top directory driver/base and subdirectory driver/base/power with kconfig option CONFIG_DEBUG_DRIVER. But the DEBUG flags will not pass to subdirectory drvier/base/firmware_loader which the ccflags-$(CONFIG_DEBUG_DRIVER) is

[PATCH v2 2/2] staging: hikey9xx: make phy_ops struct const

2021-02-09 Thread Atul Gopinathan
Fix the following type of checkpatch warning: "WARNING: struct phy_ops should normally be const" Signed-off-by: Atul Gopinathan --- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/hikey9xx/phy-hi3670-usb3.c

[PATCH v2 1/2] staging: hikey9xx: change spaces to tabs

2021-02-09 Thread Atul Gopinathan
Fix the following type of checkpatch error: "ERROR: code indent should use tabs where possible" Signed-off-by: Atul Gopinathan --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 2 +- drivers/staging/hikey9xx/hi6421v600-regulator.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] staging: fix ignoring return value warning

2021-02-09 Thread Dan Carpenter
On Tue, Feb 09, 2021 at 09:18:02AM +0800, Youling Tang wrote: > Hi, Dan > > > On 02/09/2021 03:02 AM, Dan Carpenter wrote: > > On Mon, Feb 08, 2021 at 04:06:18PM +0100, Sascha Hauer wrote: > > > Hi Dan, > > > > > > On Mon, Feb 08, 2021 at 04:45:17PM +0300, Dan Carpenter wrote: > > > > On Sun,