Re: [PATCH 1/4] staging: kpc2000: add spaces around operators in core.c

2019-05-30 Thread Greg KH
On Thu, May 30, 2019 at 10:57:09PM +, Matt Sickler wrote: > >From: devel On Behalf Of > >Greg KH > >On Fri, May 24, 2019 at 01:07:59PM +0200, Simon Sandström wrote: > >> --- a/drivers/staging/kpc2000/kpc2000/core.c > >> +++ b/drivers/staging/kpc2000/kp

[GIT PULL] Staging/IIO driver fixes for 5.2-rc3

2019-05-30 Thread Greg KH
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.2-rc3 for you to fetch changes up to e61ff0fba72d98

Re: [PATCH] Improve code style in drivers/staging/rts5208

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 01:43:50PM +0200, Tobias Nießen wrote: > These changes to sd.c and xd.c slightly improve the code style and > reduce the overall line length. > > Signed-off-by: Tobias Nießen > Signed-off-by: Sabrina Gaube > --- > drivers/staging/rts5208/sd.c | 23 +++

Re: [PATCH 1/2] staging: kpc2000: export more device attributes via sysfs.

2019-06-03 Thread Greg KH
On Fri, May 31, 2019 at 11:52:30AM +0100, Jeremy Sowden wrote: > Added more read-only device attributes in order to expose all the > information about the hardware which is available by calling read() or > ioct() on the misc device associated with it. > > Signed-off-by: Jeremy Sowden > --- > dri

Re: [PATCH 1/2] staging: kpc2000: export more device attributes via sysfs.

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 02:08:56PM +0200, Greg KH wrote: > On Fri, May 31, 2019 at 11:52:30AM +0100, Jeremy Sowden wrote: > > Added more read-only device attributes in order to expose all the > > information about the hardware which is available by calling read() or > > ioct

Re: [PATCH] staging: rtl8712: Replace function r8712_free_network_queue

2019-06-03 Thread Greg KH
On Fri, May 31, 2019 at 02:27:55AM +0530, Nishka Dasgupta wrote: > Remove function r8712_free_network_queue as it does nothing except call > _free_network_queue. > Rename _free_network_queue to r8712_free_network_queue (and change its > type to static) for continued use of the original functionalit

Re: [PATCH] staging: rtl8712: Remove function alloc_network

2019-06-03 Thread Greg KH
On Fri, May 31, 2019 at 02:31:41AM +0530, Nishka Dasgupta wrote: > Remove function alloc_network as it does nothing except call > _r8712_alloc_network. Further, to maintain consistency with > the names of other functions, rename _r8712_alloc_network as > r8712_alloc_network. > Also change the corre

Re: [PATCH] staging: rtl8712: Change _SUCCESS/_FAIL to 0/-ENOMEM

2019-06-03 Thread Greg KH
On Fri, May 31, 2019 at 02:36:38AM +0530, Nishka Dasgupta wrote: > Change return values _SUCCESS and _FAIL to 0 and -ENOMEM respectively, > to match the convention in the drivers (and also because the return > value of this changed function is never checked anyway). > Change return type of the func

Re: [PATCH 1/3] drivers/staging/rtl8192u: Reformat comments

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 02:21:02PM +0200, Christian Müller wrote: > From: Felix Trommer > > Replace C99-Style comments with C89-Style comments. What does that mean? > if (MaxChnlNum >= pTriple->first_channel) { > - /* It is not in a monotonically increasing ord

Re: [PATCH 3/3] drivers/staging/rtl8192u: Fix of checkpatch-errors

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 02:21:04PM +0200, Christian Müller wrote: > Fix issues that lead to multiple checkpatch warnings and errors, most of > them regarding formatting of code and comments. > Comments that contain only commented out code are removed as well. > > Signed-off-by: Felix Trommer > Si

Re: [PATCH 2/3] drivers/staging/rtl8192u: Remove comment-out code

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 02:21:03PM +0200, Christian Müller wrote: > From: Felix Trommer > > Remove the majority of all commented-out code. Commented out code, that > was adressed by a comment itself is not removed. The code that we left > in as comments was mostly due to the "pseudo-code"-like na

Re: [PATCH] staging: isdn: hysdn: fix symbol 'hysdn_proc_entry' was not declared.

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 03:53:49PM +0200, Valerio Genovese wrote: > This was reported by sparse: > drivers/staging/isdn/hysdn/hysdn_procconf.c:352:23: warning: symbol > 'hysdn_proc_entry' was not declared. Should it be static? > > Signed-off-by: Valerio Genovese > --- > drivers/staging/isdn/hys

Re: [PATCH] staging: kpc2000: kpc_dma: fix symbol 'kpc_dma_add_device' was not declared.

2019-06-05 Thread Greg KH
On Wed, Jun 05, 2019 at 05:57:11PM +0200, Valerio Genovese wrote: > This was reported by sparse: > drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c:39:7: warning: symbol > 'kpc_dma_add_device > ' was not declared. Should it be static? > > Signed-off-by: Valerio Genovese > --- > drivers/staging/

Re: [PATCH 4/7] staging: kpc2000: use __func__ in debug messages in core.c

2019-06-06 Thread Greg KH
On Tue, Jun 04, 2019 at 12:29:13AM +0200, Simon Sandström wrote: > Fixes checkpatch.pl warning "Prefer using '"%s...", __func__' to using > '', this function's name, in a string". > > Signed-off-by: Simon Sandström > --- > drivers/staging/kpc2000/kpc2000/core.c | 10 +- > 1 file changed,

Re: [PATCH] staging: rtl8188eu: core: Replace function rtw_free_network_nolock

2019-06-06 Thread Greg KH
On Tue, Jun 04, 2019 at 01:42:22PM +0530, Nishka Dasgupta wrote: > Remove function rtw_free_network_nolock, as all it does is call > _rtw_free_network_nolock, and rename _rtw_free_network_nolock to > rtw_free_network_nolock. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/rtl8188eu/co

Re: [PATCH] Staging: rts5208: fixed brace coding style issue

2019-06-08 Thread Greg KH
On Sat, Jun 08, 2019 at 03:53:35PM +0200, xabi1...@gmail.com wrote: > From: Xabier Etxezarreta > > Fixed a coding style issue checked with checkpatch.pl > > Signed-off-by: Xabier Etxezarreta > --- > drivers/staging/rts5208/rtsx.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > >

Re: [PATCH] staging: isdn: hysdn: fix symbol 'hysdn_proc_entry' was not declared.

2019-06-09 Thread Greg KH
On Wed, Jun 05, 2019 at 03:53:49PM +0200, Valerio Genovese wrote: > This was reported by sparse: > drivers/staging/isdn/hysdn/hysdn_procconf.c:352:23: warning: symbol > 'hysdn_proc_entry' was not declared. Should it be static? > > Signed-off-by: Valerio Genovese > --- > drivers/staging/isdn/hys

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-09 Thread Greg KH
On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: > Remove variables that are declared and assigned values but not otherwise > used. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 9 - > 1 file chan

Re: [PATCH 1/2] staging: kpc2000: kpc2000_i2c: void* -> void *

2019-06-09 Thread Greg KH
On Sat, Jun 08, 2019 at 01:45:05PM +, Geordan Neukum wrote: > On Sat, Jun 08, 2019 at 03:27:46PM +0800, Hao Xu wrote: > > modify void* to void * for #define inb_p(a) readq((void*)a) > > and #define outb_p(d,a) writeq(d,(void*)a) > > > > Signed-off-by: Hao Xu > > --- > > drivers/staging/kpc20

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-09 Thread Greg KH
On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: > On 09/06/19 4:32 PM, Greg KH wrote: > > On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: > > > Remove variables that are declared and assigned values but not otherwise > > > used. > &

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 12:44:05PM +0530, Nishka Dasgupta wrote: > On 10/06/19 11:19 AM, Greg KH wrote: > > On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: > > > On 09/06/19 4:32 PM, Greg KH wrote: > > > > On Fri, Jun 07, 2019 at 12:41:23P

Re: [PATCH 4/7] staging: kpc2000: use __func__ in debug messages in core.c

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 09:20:09AM +0200, Simon Sandström wrote: > On 06/06, Greg KH wrote: > > On Tue, Jun 04, 2019 at 12:29:13AM +0200, Simon Sandström wrote: > > > > > > - dev_dbg(&pdev->dev, "kp2000_pcie_probe(pdev = [%p], id = [%p])\n", > >

Re: [PATCH v2 -next] staging: fieldbus: Fix build error without CONFIG_REGMAP_MMIO

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 08:51:10AM -0400, Sven Van Asbroeck wrote: > Hello Greg, just a friendly ping regarding this patch. It got my Reviewed-by > tag > two weeks ago, no further feedback from anyone. Is there anything you would > like us to do before queuing this? > > Link to v2 that got the Re

Re: [PATCH 16/16] Staging: wlan-ng: cfg80211: fixed alignment issue with open parenthesis line ending with (

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 04:08:25PM +0530, Merwin Trever Ferrao wrote: > From: Merwin Trever Ferrao > > Fixed a coding style issue. > > Signed-off-by: Merwin Trever Ferrao > --- > drivers/staging/wlan-ng/cfg80211.c | 32 ++ > 1 file changed, 15 insertions(+), 17 dele

Re: [PATCH v2] staging: kpc2000: kpc_i2c: remove the macros inb_p and outb_p

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 03:48:24PM +0800, Hao Xu wrote: > remove inb_p and outb_p to call readq/writeq directly. > > Signed-off-by: Hao Xu > --- > Changes in v2: > - remove the macros inb_p/outb_p and use readq/writeq directly, per > https://lkml.kernel.org/lkml/20190608134505.ga...@arch-01.home

Re: [PATCH 2/2] staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 10:39:36AM +0300, Dan Carpenter wrote: > On Mon, Jun 10, 2019 at 10:05:35PM +0200, Simon Sandström wrote: > > @@ -349,9 +340,7 @@ static int kp2000_pcie_probe(struct pci_dev *pdev, > > goto err_remove_ida; > > } > > > > - /* > > -* Step 4: Setup the R

Re: [PATCH] binder: fix possible UAF when freeing buffer

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 01:29:27PM -0700, Todd Kjos wrote: > There is a race between the binder driver cleaning > up a completed transaction via binder_free_transaction() > and a user calling binder_ioctl(BC_FREE_BUFFER) to > release a buffer. It doesn't matter which is first but > they need to be

Re: [PATCH 1/6] staging: kpc2000_dma: added Kconfig to enable asynchronous I/O.

2019-06-13 Thread Greg KH
On Tue, Jun 11, 2019 at 08:50:59PM +0100, Jeremy Sowden wrote: > The DMA driver has call-backs for doing asynchronous I/O which are > protected by a CONFIG_ macro which is not defined. Added a Kconfig > stanza to define it. > > Cc: Matt Sickler > Signed-off-by: Jeremy Sowden > --- > drivers/st

Re: [PATCH 1/6] staging: kpc2000_dma: added Kconfig to enable asynchronous I/O.

2019-06-13 Thread Greg KH
On Thu, Jun 13, 2019 at 10:13:06AM +0100, Jeremy Sowden wrote: > On 2019-06-13, at 10:45:31 +0200, Greg KH wrote: > > On Tue, Jun 11, 2019 at 08:50:59PM +0100, Jeremy Sowden wrote: > > > The DMA driver has call-backs for doing asynchronous I/O which are > > > protected

Re: [PATCH 12/16] staging/comedi: mark as broken

2019-06-14 Thread Greg KH
On Fri, Jun 14, 2019 at 03:47:22PM +0200, Christoph Hellwig wrote: > comedi_buf.c abuse the DMA API in gravely broken ways, as it assumes it > can call virt_to_page on the result, and the just remap it as uncached > using vmap. Disable the driver until this API abuse has been fixed. > > Signed-of

Re: [PATCH 12/16] staging/comedi: mark as broken

2019-06-14 Thread Greg KH
On Fri, Jun 14, 2019 at 04:48:57PM +0200, Christoph Hellwig wrote: > On Fri, Jun 14, 2019 at 04:02:39PM +0200, Greg KH wrote: > > Perhaps a hint as to how we can fix this up? This is the first time > > I've heard of the comedi code not handling dma properly. > > I

Re: [PATCH 1/1] drivers/staging/rtl8129u: adjust block comments

2019-06-20 Thread Greg KH
On Thu, Jun 20, 2019 at 11:45:34AM +0200, Christian Müller wrote: > As stated in coding-styles.rst multiline comments should be structured in a > way, > that the actual comment starts on the second line of the commented portion. > E.g: > > /* > * Multiline comments > * should look like > * th

Re: [PATCH 0/4] staging: mt7621-pci: Use gpio perst instead builtin behaviour

2019-06-20 Thread Greg KH
On Thu, Jun 20, 2019 at 07:20:52AM +0200, Sergio Paracuellos wrote: > Hi Greg, > > On Thu, Jun 20, 2019 at 2:40 AM Greg Ungerer wrote: > > > > Hi Sergio, > > > > On 19/6/19 5:44 pm, Sergio Paracuellos wrote: > > > Some boards seems to ignore builtin perst configuration and use gpio > > > instead.

Re: [PATCH] staging: ks7010: Fix build error

2019-06-21 Thread Greg KH
On Fri, Jun 21, 2019 at 11:42:21AM +0800, YueHaibing wrote: > when CRYPTO is m and KS7010 is y, building fails: > > drivers/staging/ks7010/ks_hostif.o: In function `michael_mic.constprop.13': > ks_hostif.c:(.text+0x560): undefined reference to `crypto_alloc_shash' > ks_hostif.c:(.text+0x580): unde

[GIT PULL] Staging/IIO driver fixes for 5.2-rc6

2019-06-21 Thread Greg KH
The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.2-rc6 for you to fetch changes up to 9b9410766f5422

Re: [PATCH 1/2] drivers/staging/rtl8192u: adjust block comments

2019-06-25 Thread Greg KH
On Mon, Jun 24, 2019 at 11:46:39AM +0200, Christian Müller wrote: > As stated in coding-styles.rst multiline comments should be structured in a > way, > that the actual comment starts on the second line of the commented portion. > E.g: You sent 2 patches that did different things, yet have the

Re: [PATCH 3/4] staging: kpc2000: remove unnecessary parentheses in kpc2000_spi.c

2019-06-25 Thread Greg KH
On Tue, Jun 25, 2019 at 10:41:29AM +0200, Simon Sandström wrote: > Fixes checkpatch "CHECK: Unnecessary parentheses around '...'". > > Signed-off-by: Simon Sandström > --- > drivers/staging/kpc2000/kpc2000_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/st

Re: [PATCH v2 1/2] drivers/staging/rtl8192u: drop first comment line

2019-06-27 Thread Greg KH
On Thu, Jun 27, 2019 at 10:33:35AM +0200, Christian Müller wrote: > As stated in coding-styles.rst multiline comments should be structured in a > way, > that the actual comment starts on the second line of the commented portion. > E.g: > > /* > * Multiline comments > * should look like > * th

Re: [PATCH] fbtft: Cleanup line over 80 character warnings

2019-06-27 Thread Greg KH
On Thu, Jun 27, 2019 at 02:12:40PM +0200, Lukas Schneider wrote: > Cleanup the line over 80 character warnings, reported by checkpatch > > Signed-off-by: Lukas Schneider > Signed-off-by: Jannik Moritz > Cc: > --- > drivers/staging/fbtft/fbtft-sysfs.c | 3 ++- > drivers/staging/fbtft/fbtft.h

Re: [PATCH] staging:kpc2000:Fix sparse warnings

2019-06-28 Thread Greg KH
On Fri, Jun 28, 2019 at 12:21:38AM +0530, Harsh Jain wrote: > From: root Interesting user name :) > Fix following sparse warning > symbol was not declared. Should it be static? > Using plain integer as NULL pointer Don't do multiple things in the same patch. Please break thsi up into two diffe

Re: [PATCH v2] Staging: most: fix coding style issues

2019-07-01 Thread Greg KH
On Sun, Jun 30, 2019 at 08:27:26AM -0700, Gabriel Beauchamp wrote: > This is a patch for the core.[ch] files that fixes up warnings > found with the checkpatch.pl tool. > > Signed-off-by: Gabriel Beauchamp Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that

Re: [PATCH 1/3] staging: comedi: Remove function clk_sce()

2019-07-01 Thread Greg KH
On Wed, Jun 26, 2019 at 12:24:02PM +0530, Nishka Dasgupta wrote: > Remove function clk_sce as all it does is call clk_gat_sce. > Modify call site of clk_sce to call clk_gat_sce instead. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/comedi/drivers/amplc

Re: [PATCH] staging: kpc2000: fix brace issues in kpc2000_spi.c

2019-07-01 Thread Greg KH
On Thu, Jun 27, 2019 at 09:53:23PM +0200, Simon Sandström wrote: > Fixes issues found by checkpatch: > > - "WARNING: braces {} are not necessary for single statement blocks" > - "WARNING: braces {} are not necessary for any arm of this statement" > > Signed-off-by: Simon Sandström > --- > drive

Re: [PATCH 1/2] staging:kpc2000:Fix symbol not declared warning

2019-07-01 Thread Greg KH
On Fri, Jun 28, 2019 at 10:57:23PM +0530, Harsh Jain wrote: > It fixes "symbol was not declared. Should it be static?" > sparse warning. > > Signed-off-by: Harsh Jain > --- > drivers/staging/kpc2000/kpc_i2c/i2c_driver.c | 4 ++-- This file isn't even in the linux-next tree at all, it has moved w

Re: [PATCH] staging: rtl8192u: Replace function rtl8192_rx_enable()

2019-07-01 Thread Greg KH
On Mon, Jul 01, 2019 at 11:49:02AM +0530, Nishka Dasgupta wrote: > Remove function rtl8192_rx_enable as all it does is call > rtl8192_rx_initiate. > Rename rtl8192_rx_initiate to rtl8192_rx_enable and change its type from > static to non-static to maintain compatibility with call sites of > rtl8192

Re: What device drivers for Linux does this project develop?

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 08:44:14AM +, Turritopsis Dohrnii Teo En Ming wrote: > Good afternoon from Singapore, > > What device drivers for Linux does this project develop? All taht is needed. What type of device do you have that Linux currently does not support? greg k-h

Re: What device drivers for Linux does this project develop?

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 09:29:47AM +, Turritopsis Dohrnii Teo En Ming wrote: > My Hauppauge WinTV-HVR-935 HD Tri-Mode TV Stick DVB-T2 TV Tuner in > Singapore is currently not supported by Linux. Have you tried contacting the linux-me...@vger.kernel.org mailing list first? The developers for t

Re: [PATCH v4] Staging: most: fix coding style issues

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 05:24:03AM -0700, Gabriel Beauchamp wrote: > This is a patch for the core.[ch] files that fixes up warnings > found with the checkpatch.pl tool. > > Signed-off-by: Gabriel Beauchamp Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > Remove file ion_carveout_heap.c as its functions and definitions are not > used anywhere. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/android/ion/Kconfig | 9 -- > drivers

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 02:14:21PM +0530, Nishka Dasgupta wrote: > On 03/07/19 2:07 PM, Greg KH wrote: > > On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > > > Remove file ion_carveout_heap.c as its functions and definitions are not > > > used anywh

Re: [PATCH RESEND v3] staging: erofs: remove unsupported ->datamode check in fill_inline_data()

2019-07-03 Thread Greg KH
On Tue, Jul 02, 2019 at 10:56:01AM +0800, Yue Hu wrote: > From: Yue Hu > > Already check if ->datamode is supported in read_inode(), no need to check > again in the next fill_inline_data() only called by fill_inode(). > > Signed-off-by: Yue Hu > Reviewed-by: Gao Xiang > Reviewed-by: Chao Yu >

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 07:32:27AM -0400, Laura Abbott wrote: > On 7/3/19 5:50 AM, Daniel Vetter wrote: > > On Wed, Jul 3, 2019 at 10:37 AM Greg KH wrote: > > > > > > On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > > > > Remove file i

Re: [PATCH] Staging: mt7621-dma: mtk-hsdma: fix a coding style issue

2019-07-03 Thread Greg KH
On Tue, Jul 02, 2019 at 11:06:32AM +0300, fatihaltinpi...@gmail.com wrote: > From: Fatih ALTINPINAR > > Fixed a coding style issue. Removed curly brackets of an one > line if statement. > > Signed-off-by: Fatih ALTINPINAR > --- > drivers/staging/mt7621-dma/mtk-hsdma.c | 3 +-- > 1 file changed

Re: [PATCH RESEND v3] staging: erofs: remove unsupported ->datamode check in fill_inline_data()

2019-07-03 Thread Greg KH
On Thu, Jul 04, 2019 at 09:59:03AM +0800, Yue Hu wrote: > On Wed, 3 Jul 2019 18:20:38 +0200 > Greg KH wrote: > > > On Tue, Jul 02, 2019 at 10:56:01AM +0800, Yue Hu wrote: > > > From: Yue Hu > > > > > > Already check if ->datamode is supported in

[GIT PULL] Staging/IIO driver patches for 5.3-rc1

2019-07-10 Thread Greg KH
The following changes since commit 4b972a01a7da614b4796475f933094751a295a2f: Linux 5.2-rc6 (2019-06-22 16:01:36 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.3-rc1 for you to fetch changes up to 5d153248294340

Re: [PATCH] staging: rtl8712: Add parenthesis to Macro argument

2019-07-15 Thread Greg KH
On Sat, Jul 13, 2019 at 06:26:52PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Add parenthesis to Macro argument to avoid precedence issues. > > Signed-off-by: Christian Luciano Moreno > --- > drivers/staging/rtl8712/basic_types.h | 2 +- > 1 file changed, 1

Re: [PATCH] staging: rtl8712: Fix Alignment CHECK

2019-07-15 Thread Greg KH
On Sat, Jul 13, 2019 at 06:47:20PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Fix alignment check reported by checkpatch. > > Signed-off-by: Christian Luciano Moreno > --- > drivers/staging/rtl8712/recv_linux.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [PATCH] staging: rtl8712: Fix CHECK reported by checkpatch

2019-07-15 Thread Greg KH
On Sat, Jul 13, 2019 at 09:20:05PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Change local variable name to avoid CamelCase. > Align code to the open parenthesis to fix alignment issues. That is two different things, right? So it should be 2 patches. thanks

Re: [PATCH] staging: rtl8712: Fix Alignment CHECK

2019-07-15 Thread Greg KH
On Sat, Jul 13, 2019 at 06:47:20PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Fix alignment check reported by checkpatch. > > Signed-off-by: Christian Luciano Moreno > --- > drivers/staging/rtl8712/recv_linux.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [PATCH] staging: rtl8712: rtl871x_xmit.c: Fix some CHECK and WARNING

2019-07-15 Thread Greg KH
On Mon, Jul 15, 2019 at 02:17:04PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Fix: line over 80 characters > space unnecesary after cast > alignment match open parenthesis > comparison to NULL > Those warnings and check were reported by checkpat

Re: [PATCH] staging: rtl8712: Delete multiple blank line.

2019-07-15 Thread Greg KH
On Sat, Jul 13, 2019 at 06:57:43PM -0300, christianlucian...@gmail.com wrote: > From: Christian Luciano Moreno > > Signed-off-by: Christian Luciano Moreno > --- > drivers/staging/rtl8712/rtl8712_cmdctrl_bitdef.h | 1 - > 1 file changed, 1 deletion(-) I can't take patches without any changelog

Re: [PATCH] staging: erofs: fix typo

2019-07-16 Thread Greg KH
On Tue, Jul 16, 2019 at 01:47:43PM -0300, Karen Palacio wrote: > Signed-off-by: Karen Palacio > --- > drivers/staging/erofs/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I can not take patches without any changelog text, sorry. ___ de

Re: [PATCH] v2: staging: erofs: fix typo

2019-07-16 Thread Greg KH
On Tue, Jul 16, 2019 at 06:16:23PM -0300, Karen Palacio wrote: > Fix typo in Kconfig > Signed-off-by: Karen Palacio I need a blank line before the signed-off-by line :( 3rd try? ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linux

Re: [PATCH v2] Staging: fbtft: Fix GPIO handling

2019-07-25 Thread Greg KH
On Wed, Jul 17, 2019 at 11:41:37PM +0900, Jan Sebastian Götte wrote: > Commit c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor > interface") breaks GPIO handling. In several places, checks to only set > a GPIO if it was configured ended up backwards. > I have tested this fix. The fixed

Re: [PATCH] v3: staging: erofs: fix typo

2019-07-25 Thread Greg KH
On Wed, Jul 17, 2019 at 05:11:19PM -0300, Karen Palacio wrote: > Fix typo in Kconfig > > Signed-off-by: Karen Palacio > Reviewed-by: Gao Xiang > Reviewed-by: Chao Yu > > diff --git a/drivers/staging/erofs/Kconfig b/drivers/staging/erofs/Kconfig > index d04b798..0dcefac 100644 > --- a/drivers/s

Re: [PATCH v4] staging: kpc2000: Convert put_page to put_user_page*()

2019-07-25 Thread Greg KH
On Sat, Jul 20, 2019 at 11:02:14PM +0530, Bharath Vedartham wrote: > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page(). > > This is part a tree-wide conversion, as described in commit fc1d8e7cca2d > ("mm: int

Re: [PATCH] staging: rtl8723bs: Disable procfs debugging by default

2019-07-25 Thread Greg KH
On Thu, Jul 18, 2019 at 05:25:22PM +0800, Kai-Heng Feng wrote: > The procfs provides many useful information for debugging, but it may be > too much for normal usage, routines like proc_get_sec_info() reports > various security related information. > > So disable it by defaultl. > > Signed-off-by

Re: [PATCH] qlge: Fix build error without CONFIG_ETHERNET

2019-07-25 Thread Greg KH
On Wed, Jul 24, 2019 at 02:12:28PM -0700, David Miller wrote: > From: David Miller > Date: Wed, 24 Jul 2019 14:12:02 -0700 (PDT) > > > From: YueHaibing > > Date: Wed, 24 Jul 2019 21:01:26 +0800 > > > >> Now if CONFIG_ETHERNET is not set, QLGE driver > >> building fails: > >> > >> drivers/stagi

Re: [PATCH -next] staging: vc04_services: fix used-but-set-variable warning

2019-07-25 Thread Greg KH
On Thu, Jul 25, 2019 at 10:27:16PM +0800, YueHaibing wrote: > use variables 'local_entity_uc' and 'local_uc', > mute gcc used-but-set-variable warning: > > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function > vchiq_release_internal: > drivers/staging/vc04_services/interfac

Re: [PATCH] staging: rtl8723bs: Disable procfs debugging by default

2019-07-25 Thread Greg KH
On Thu, Jul 25, 2019 at 10:48:42PM +0800, Kai-Heng Feng wrote: > at 15:55, Greg KH wrote: > > > On Thu, Jul 18, 2019 at 05:25:22PM +0800, Kai-Heng Feng wrote: > > > The procfs provides many useful information for debugging, but it may be > > > too much f

Re: [PATCH] RTWAP:Fixed Coding function and style issues

2019-07-28 Thread Greg KH
On Sun, Jul 28, 2019 at 05:51:57PM +0530, Saurav-Girepunje wrote: > RTWAP:Fixed Coding function and style issues > Removed Unnecessary parentheses What is "RRWAP:"? Please look at other commits for this driver and copy how they structure the subject and changelog information and then resend

Re: [Linux-kernel-mentees][PATCH v4] staging: kpc2000: Convert put_page to put_user_page*()

2019-07-30 Thread Greg KH
On Tue, Jul 30, 2019 at 02:58:44PM +0530, Bharath Vedartham wrote: > put_page() to put_user_page*() What does this mean? ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v2] rtl8192_init_priv_variable: null check is missing for kzalloc

2019-07-30 Thread Greg KH
On Tue, Jul 30, 2019 at 09:30:58AM -0500, Navid Emamdoost wrote: > Allocation for priv->pFirmware may fail, so a null check is necessary. > priv->pFirmware is accessed later in rtl8192_adapter_start. I added the > check and made appropriate changes to propagate the errno to the caller. > > Update

Re: [PATCH v3] staging: rtl8192u: null check the kzalloc

2019-07-31 Thread Greg KH
On Tue, Jul 30, 2019 at 05:01:39PM -0500, Navid Emamdoost wrote: > In rtl8192_init_priv_variable allocation for priv->pFirmware may fail, > so a null check is necessary.priv->pFirmware is accessed later in > rtl8192_adapter_start. I added the check and made appropriate changes > to propagate the er

Re: [PATCH v6] staging: pi433: Fixes minor typo errors

2017-09-10 Thread Greg KH
On Fri, Sep 08, 2017 at 11:18:08PM +0530, Harsha Sharma wrote: > Hello, > I have tried to follow above given instructions but please correct me if I am > wrong somewhere. What "above given instructions"? And please fix your email client to not send html email, it is getting rejected by the mailin

Re: [PATCH v2] staging: fsl-mc: move bus driver out of staging

2017-09-11 Thread Greg KH
On Mon, Sep 11, 2017 at 11:55:22AM +, Laurentiu Tudor wrote: > Hi, > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Thursday, August 31, 2017 7:05 PM > > > > On Mon, Aug 28, 2017 at 01:54:05PM +0300, laure

Re: [PATCH] Staging: ccree: Don't use volatile for monitor_lock

2017-09-11 Thread Greg KH
On Mon, Sep 11, 2017 at 09:29:31PM +0530, Srishti Sharma wrote: > The use of volatile for the variable monitor_lock is unnecessary. > > Signed-off-by: Srishti Sharma > --- > drivers/staging/ccree/ssi_request_mgr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/

Re: [PATCH v2] Staging: ccree: Prefer using BIT macro.

2017-09-11 Thread Greg KH
On Thu, Sep 07, 2017 at 07:44:52PM +0530, Srishti Sharma wrote: > Use BIT(x) instead of using (1< > Signed-off-by: Srishti Sharma > --- > Changes in v2: > - Add tab spaces before BIT macro. > > drivers/staging/ccree/ssi_cipher.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-

Re: [PATCH v2] staging: rtl8723bs: Change coding style to (foo *bar)

2017-09-11 Thread Greg KH
On Sat, Sep 09, 2017 at 10:43:36PM +0530, Harsha Sharma wrote: > This coding style (foo *bar) is more common for the kernel code. > Change foo* bar to foo *bar. > Change foo * bar to foo *bar. > Change (foo*) to (foo *). > > Signed-off-by: Harsha Sharma > --- > Change in v2: > -Updated log messa

Re: [Outreachy kernel] [PATCH 06/10] staging: rtl8723bs: Add space after ','

2017-09-11 Thread Greg KH
On Sun, Sep 10, 2017 at 11:02:02PM +0530, Harsha Sharma wrote: > Space required after ',' > > Signed-off-by: Harsha Sharma > Acked-by: Julia Lawall This patch does not apply, can you rebase and resend? thanks, greg k-h ___ devel mailing list de...@l

Re: [PATCH 07/10] staging: rtl8723bs: Removed unneccesary space

2017-09-11 Thread Greg KH
On Sun, Sep 10, 2017 at 11:04:34PM +0530, Harsha Sharma wrote: > Remove space between function name and open parenthesis '(' > > Signed-off-by: Harsha Sharma > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) This and patch 8/10, ha

Re: [PATCH] Staging: irda: net: fix coding style issues in irqueue.h

2017-09-12 Thread Greg KH
On Mon, Sep 11, 2017 at 10:37:05PM +0200, ArminSchoenlieb wrote: > From: Armin Schoenlieb > > This is a patch to the irqueue.h file that fixes up pointer style errors and > trailing whitespace errors, found by the checkpatch.pl tool > > Signed-off-by: Armin Schoenlieb > --- > drivers/staging/i

Re: [PATCH v2 06/10] staging: rtl8723bs: Add space after ','

2017-09-12 Thread Greg KH
On Tue, Sep 12, 2017 at 07:05:23PM +0530, Harsha Sharma wrote: > Space required after ',' > > Signed-off-by: Harsha Sharma > --- > Changes in v2: > -Rebase against staging-testing and solve merge conflicts > > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- > 1 file changed, 6 i

Re: [PATCH v3] staging: typec: tcpm: Rewrite comparison to NULL pointer

2017-09-12 Thread Greg KH
On Fri, Sep 08, 2017 at 11:21:25PM +0530, Harsha Sharma wrote: > Make code more concise and readable > > Signed-off-by: Harsha Sharma > --- > Change in v3: > -Change in subject and log message > Change in v2: > -Change in subject > -Change in log message > drivers/staging/typec/tcpm.c | 2 +

Re: [PATCH] staging: rtl8712: Fix unbalanced braces around else statement

2017-09-12 Thread Greg KH
On Tue, Sep 12, 2017 at 01:40:15AM +0100, Liam Ryan wrote: > Fix checkpath-reported unbalanced braces in the following areas > > 221: FILE: drivers/staging/rtl8712/hal_init.c:221: > 392: FILE: drivers/staging/rtl8712/os_intfs.c:392: > 363: FILE: drivers/staging/rtl8712/rtl8712_cmd.c:363: > 889: FI

Re: [PATCH v2 1/2] include: linux: sysfs: Add __ATTR_NAMED macro

2017-09-13 Thread Greg KH
On Wed, Sep 13, 2017 at 06:03:10PM +0100, Jonathan Cameron wrote: > On Wed, 13 Sep 2017 14:14:07 +0530 > Himanshi Jain wrote: > > > Add __ATTR_NAMED macro similar to __ATTR but taking name as a > > string instead of implicit conversion of argument to string using > > the macro _stringify(_name).

Re: [PATCH v2 1/2] include: linux: sysfs: Add __ATTR_NAMED macro

2017-09-13 Thread Greg KH
On Wed, Sep 13, 2017 at 09:23:31PM +0200, Lars-Peter Clausen wrote: > On 09/13/2017 08:58 PM, Greg KH wrote: > > On Wed, Sep 13, 2017 at 06:03:10PM +0100, Jonathan Cameron wrote: > >> On Wed, 13 Sep 2017 14:14:07 +0530 > >> Himanshi Jain wrote: > >> > >&

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove unused variable ret

2017-09-18 Thread Greg KH
On Thu, Sep 14, 2017 at 10:21:29PM +0530, Harsha Sharma wrote: > Hi, > Yes, you are right but the function returns 0 in the end and the changes > compiles well . Then the function is incorrect, it should be reporting back that error. thanks, greg k-h _

Re: [PATCH V2 1/4] vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()

2017-09-18 Thread Greg KH
On Sun, Sep 17, 2017 at 08:54:16PM -0700, k...@exchange.microsoft.com wrote: > From: Dexuan Cui > > Due to commit 54a66265d675 ("Drivers: hv: vmbus: Fix rescind handling"), > we need this patch to resolve the below deadlock: So does this patch need a "Fixes:" tag, and a "stable@" tag as well, so

Re: [PATCH V2 2/4] Drivers: hv: fcopy: restore correct transfer length

2017-09-18 Thread Greg KH
On Sun, Sep 17, 2017 at 08:54:17PM -0700, k...@exchange.microsoft.com wrote: > From: Olaf Hering > > Till recently the expected length of bytes read by the > daemon did depend on the context. It was either hv_start_fcopy or > hv_do_fcopy. The daemon had a buffer size of two pages, which was much

Re: [PATCH V2 4/4] Drivers: hv: vmbus: Expose per-channel event counters events counters

2017-09-18 Thread Greg KH
On Sun, Sep 17, 2017 at 08:54:19PM -0700, k...@exchange.microsoft.com wrote: > From: Stephen Hemminger > > When investigating performance, it is useful to be able to look at > the number of host and guest events per-channel. This is equivalent > to per-device interrupt statistics. > > Signed-off

Re: [PATCH V2 3/4] vmbus: add per-channel sysfs info

2017-09-18 Thread Greg KH
On Sun, Sep 17, 2017 at 08:54:18PM -0700, k...@exchange.microsoft.com wrote: > From: Stephen Hemminger > > This extends existing vmbus related sysfs structure to provide per-channel > state information. This is useful when diagnosing issues with multiple > queues in networking and storage. > > T

Re: [PATCH V2 1/4] vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()

2017-09-18 Thread Greg KH
On Sun, Sep 17, 2017 at 08:54:16PM -0700, k...@exchange.microsoft.com wrote: > From: Dexuan Cui > > Due to commit 54a66265d675 ("Drivers: hv: vmbus: Fix rescind handling"), > we need this patch to resolve the below deadlock: > > after we get the mutex in vmbus_hvsock_device_unregister() and call

Re: [PATCH] binder: fix "cast to pointer from integer of different size" warning

2017-09-18 Thread Greg KH
On Mon, Sep 04, 2017 at 01:17:40PM +0800, Jisheng Zhang wrote: > The binder driver now could cause warnings as below on 32bit platforms > if ANDROID_BINDER_IPC_32BIT is unselected: > > drivers/android/binder.c:1550:15: warning: cast to pointer from integer > of different size [-Wint-to-pointer-cas

Re: [PATCH v2 2/2] staging: ion: create one device entry per heap

2017-09-19 Thread Greg KH
On Tue, Sep 19, 2017 at 12:25:38PM +0200, Benjamin Gaignard wrote: > Instead a getting one common device "/dev/ion" for > all the heaps this patch allow to create one device > entry ("/dev/ionX") per heap. > Getting an entry per heap could allow to set security rules > per heap and global ones for

Re: [PATCH v2 2/2] staging: ion: create one device entry per heap

2017-09-19 Thread Greg KH
On Tue, Sep 19, 2017 at 01:55:36PM +0200, Benjamin Gaignard wrote: > >> + > >> spin_lock_init(&heap->free_lock); > >> heap->free_list_size = 0; > >> > >> @@ -595,13 +610,9 @@ static int ion_device_create(void) > >> if (!idev) > >> return -ENOMEM; > >> > >> - idev

Re: [PATCH] staging:ccree Fix dont use assignment in if condition

2017-09-22 Thread Greg KH
On Thu, Sep 21, 2017 at 12:07:04PM +0530, Janani Sankara Babu wrote: > This patch solves the following error shown by checkpatch script > ERROR: do not use assignment in if condition > > Signed-off-by: Janani Sankara Babu > --- > drivers/staging/ccree/ssi_hash.c | 8 > 1 file changed, 4

Re: [PATCH] staging: ccree: Fix Kernel coding style issues

2017-09-22 Thread Greg KH
On Fri, Sep 22, 2017 at 02:15:34PM +0530, kart...@techveda.org wrote: > From: Karthik Tummala > > Fixed following checkpatch warnings & checks: > CHECK: Unnecessary parentheses > WARNING: suspect code indent for conditional statements > WARNING: Missing a blank line after declarations Hi, This

Re: [PATCH] staging:ccree Fix dont use assignment in if condition

2017-09-22 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Sep 22, 2017 at 03:

Re: [PATCH] ANDROID: binder: pr_err() strings should end with newlines

2017-09-25 Thread Greg KH
On Mon, Sep 25, 2017 at 12:21:47PM +0530, Arvind Yadav wrote: > Signed-off-by: Arvind Yadav > --- I can't take patches without any changelog text, sorry. greg k-h ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.o

<    5   6   7   8   9   10   11   12   13   14   >