[PATCH -next] staging: exfat: Use kmemdup in exfat_symlink()

2019-09-04 Thread YueHaibing
Use kmemdup rather than duplicating its implementation Signed-off-by: YueHaibing --- drivers/staging/exfat/exfat_super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index

[PATCH -next] staging: exfat: remove unused including

2019-09-04 Thread YueHaibing
Remove including that don't need it. Signed-off-by: YueHaibing --- drivers/staging/exfat/exfat_super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 5b5c2ca8c9aa..cb43a39864af 100644 ---

[PATCH -next] staging: exfat: remove duplicated include from exfat_super.c

2019-09-04 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- drivers/staging/exfat/exfat_super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 5b5c2ca8c9aa..f202a6588dc3 100644 ---

Question

2019-09-04 Thread Michael van Rooyen
Hello, Are you looking for more B2B leads for your company? We are selling a database of more than 313 thousand companies in South Africa. Over 215 Thousand emails, 106 Thousand cells, and 226 thousand phones. I have attached a sample for your reference. It is categorized into 2084 different

Re: [PATCH v2 00/25] erofs: patchset addressing Christoph's comments

2019-09-04 Thread Gao Xiang
Hi Christoph, On Wed, Sep 04, 2019 at 11:27:11AM +0800, Chao Yu wrote: > On 2019/9/4 10:08, Gao Xiang wrote: > > Hi, > > > > This patchset is based on the following patch by Pratik Shinde, > > https://lore.kernel.org/linux-erofs/20190830095615.10995-1-pratikshinde...@gmail.com/ > > > > All

Re: [PATCH 7/8] media: cedrus: Add support for holding capture buffer

2019-09-04 Thread Jernej Škrabec
Dne četrtek, 29. avgust 2019 ob 13:23:29 CEST je Hans Verkuil napisal(a): > On 8/22/19 9:44 PM, Jernej Skrabec wrote: > > When frame contains multiple slices and driver works in slice mode, it's > > more efficient to hold capture buffer in queue until all slices of a > > same frame are decoded. >

Re: [PATCH] media: meson: Add NULL check after the call to kmalloc()

2019-09-04 Thread Austin Kim
2019년 9월 4일 (수) 오후 5:43, Rasmus Villemoes 님이 작성: > > On 04/09/2019 10.22, Austin Kim wrote: > > If the kmalloc() return NULL, the NULL pointer dereference will occur. > > new_ts->ts = ts; > > > > Add exception check after the call to kmalloc() is made. > > > > Signed-off-by: Austin Kim > >

Re: [PATCH] media: meson: Add NULL check after the call to kmalloc()

2019-09-04 Thread Austin Kim
2019년 9월 4일 (수) 오후 5:45, Greg KH 님이 작성: > > On Wed, Sep 04, 2019 at 05:22:32PM +0900, Austin Kim wrote: > > If the kmalloc() return NULL, the NULL pointer dereference will occur. > > new_ts->ts = ts; > > > > Add exception check after the call to kmalloc() is made. > > > > Signed-off-by:

[PATCH] staging: greybus: loopback_test: remove multiple blank lines

2019-09-04 Thread Pedro Chinen
Fix following checkpath warnings in multiple lines: CHECK: Please don't use multiple blank lines Signed-off-by: Pedro Chinen --- drivers/staging/greybus/tools/loopback_test.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/greybus/tools/loopback_test.c

[PATCH] staging: rtl8723bs: Remove return statement from void function

2019-09-04 Thread Leandro Ribeiro
Fix the following checkpatch warning: "WARNING: void function return statements are not generally useful" Signed-off-by: Leandro Ribeiro --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c

[PATCH] staging: rtl8192e: remove unnecessary blank line

2019-09-04 Thread Beatriz Martins de Carvalho
Fix checkpath error "CHECK: Blank lines aren't necessary after an open brace '{'" in rtllib.h:482. Signed-off-by: Beatriz Martins de Carvalho --- drivers/staging/rtl8192e/rtllib.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH] staging: greybus: remove blank line after an open brace '{'.

2019-09-04 Thread joahannes
Fix checkpatch error "CHECK: Blank lines aren't necessary after an open brace '{'" in loopback_test.c:742. Signed-off-by: joahannes --- drivers/staging/greybus/tools/loopback_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/greybus/tools/loopback_test.c

[PATCH] staging: greybus: Adding missing brackets into if..else block.

2019-09-04 Thread Julio Faracco
Inside a block of if..else conditional, else structure does not contain brackets. This is not following regular policies of good coding style. All parts of this conditional blocks should respect brackets inclusion. Signed-off-by: Julio Faracco --- drivers/staging/greybus/tools/loopback_test.c |

Re: [PATCH] staging: rts5208: Fix 80 char warning by re-structuring if-blocks.

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 06:35:23PM +0530, Prakhar Sinha wrote: > This patch solves the following checkpatch.pl's messages in > drivers/staging/rts5208/sd.c > > WARNING: line over 80 characters > 4517: FILE: drivers/staging/rts5208/sd.c:4517: > +

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
On Wed, Sep 4, 2019 at 7:20 AM Joel Fernandes wrote: > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > wrote: > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > >> Currently, the only way to access binder state and > >> statistics is through debugfs. We need a way

Re: [PATCH] staging: exfat: cleanup braces for if/else statements

2019-09-04 Thread Valentin Vidić
On Wed, Sep 04, 2019 at 09:38:55AM +, David Laight wrote: > From: Valentin Vidic > > Sent: 03 September 2019 19:12 > > On Tue, Sep 03, 2019 at 06:32:49PM +0100, Al Viro wrote: > > > On Tue, Sep 03, 2019 at 06:47:32PM +0200, Valentin Vidic wrote: > > > > + } else if (uni

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
On Wed, Sep 4, 2019 at 8:12 AM Christian Brauner wrote: > > On Wed, Sep 04, 2019 at 04:49:03PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 04, 2019 at 10:20:32AM -0400, Joel Fernandes wrote: > > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > > > wrote: > > > >On Tue, Sep 03,

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Christian Brauner
On Wed, Sep 04, 2019 at 04:49:03PM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 04, 2019 at 10:20:32AM -0400, Joel Fernandes wrote: > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > > wrote: > > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > > >> Currently, the

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Greg Kroah-Hartman
On Wed, Sep 04, 2019 at 10:20:32AM -0400, Joel Fernandes wrote: > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > wrote: > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > >> Currently, the only way to access binder state and > >> statistics is through debugfs. We

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Joel Fernandes
On September 4, 2019 7:19:35 AM EDT, Christian Brauner wrote: >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: >> Currently, the only way to access binder state and >> statistics is through debugfs. We need a way to >> access the same even when debugfs is not mounted. >> These

[PATCH 1/2] staging: dt-bindings: wilc1000: add optional rtc_clk property

2019-09-04 Thread Eugen.Hristev
From: Eugen Hristev Add bindings for optional rtc clock pin. Signed-off-by: Eugen Hristev --- drivers/staging/wilc1000/microchip,wilc1000,sdio.txt | 8 +++- drivers/staging/wilc1000/microchip,wilc1000,spi.txt | 8 2 files changed, 15 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] staging: wilc1000: look for rtc_clk clock

2019-09-04 Thread Eugen.Hristev
From: Eugen Hristev If rtc_clk is provided from DT, use it and enable it. This is optional. The signal may be hardcoded and no need to be requested, but if DT provides it, use it. Signed-off-by: Eugen Hristev --- drivers/staging/wilc1000/wilc_sdio.c | 14 ++

[PATCH] staging: rts5208: Fix 80 char warning by re-structuring if-blocks.

2019-09-04 Thread Prakhar Sinha
This patch solves the following checkpatch.pl's messages in drivers/staging/rts5208/sd.c WARNING: line over 80 characters 4517: FILE: drivers/staging/rts5208/sd.c:4517: + sd_card->sd_lock_status &= ~(SD_UNLOCK_POW_ON | SD_SDR_RST); WARNING: line

Re: [staging:staging-testing 314/401] drivers/iio/common/hid-sensors/hid-sensor-attributes.c:312: undefined reference to `__udivdi3'

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 11:33:50AM +0800, kbuild test robot wrote: > tree: > https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git > staging-testing > head: 74eb9c06b1d722468db397595ac6834b9e4ac235 > commit: 473d12f7638c93acbd9296a8cd455b203d5eb528 [314/401] iio: >

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Christian Brauner
On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > Currently, the only way to access binder state and > statistics is through debugfs. We need a way to > access the same even when debugfs is not mounted. > These patches add a mount option to make this > information available in

Re: [RESEND PATCH v3 0/2] Add default binderfs devices

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 01:07:02PM +0200, Christian Brauner wrote: > Hey, > > This is a resend of Hridya's series to add default binderfs devices. No > semantical changes were made. Only Joel's Acks were added by me. > > Binderfs was created to help provide private binder devices to > containers

[RESEND PATCH v3 1/2] binder: Add default binder devices through binderfs when configured

2019-09-04 Thread Christian Brauner
From: Hridya Valsaraju Currently, since each binderfs instance needs its own private binder devices, every time a binderfs instance is mounted, all the default binder devices need to be created via the BINDER_CTL_ADD IOCTL. This patch aims to add a solution to automatically create the default

[RESEND PATCH v3 0/2] Add default binderfs devices

2019-09-04 Thread Christian Brauner
Hey, This is a resend of Hridya's series to add default binderfs devices. No semantical changes were made. Only Joel's Acks were added by me. Binderfs was created to help provide private binder devices to containers in their own IPC namespace. Currently, every time a new binderfs instance is

Re: [PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-09-04 Thread Christian Brauner
On Wed, Sep 04, 2019 at 12:49:39PM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 04, 2019 at 12:44:32PM +0200, Christian Brauner wrote: > > On Wed, Sep 04, 2019 at 09:19:29AM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Aug 09, 2019 at 11:41:12AM -0700, Hridya Valsaraju wrote: > > > > On Fri,

[RESEND PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-09-04 Thread Christian Brauner
From: Hridya Valsaraju Length of a binderfs device name cannot exceed BINDERFS_MAX_NAME. This patch adds a check in binderfs_init() to ensure the same for the default binder devices that will be created in every binderfs instance. Co-developed-by: Christian Brauner Signed-off-by: Christian

Re: [PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-09-04 Thread Greg Kroah-Hartman
On Wed, Sep 04, 2019 at 12:44:32PM +0200, Christian Brauner wrote: > On Wed, Sep 04, 2019 at 09:19:29AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Aug 09, 2019 at 11:41:12AM -0700, Hridya Valsaraju wrote: > > > On Fri, Aug 9, 2019 at 11:14 AM Christian Brauner > > > wrote: > > > > > > > > On

Re: [PATCH v3 2/2] binder: Validate the default binderfs device names.

2019-09-04 Thread Christian Brauner
On Wed, Sep 04, 2019 at 09:19:29AM +0200, Greg Kroah-Hartman wrote: > On Fri, Aug 09, 2019 at 11:41:12AM -0700, Hridya Valsaraju wrote: > > On Fri, Aug 9, 2019 at 11:14 AM Christian Brauner > > wrote: > > > > > > On Fri, Aug 09, 2019 at 04:55:08PM +0200, Greg Kroah-Hartman wrote: > > > > On Thu,

[PATCH] staging: exfat: Fix two missing unlocks on error paths

2019-09-04 Thread Dan Carpenter
These two error paths need to unlock before we can return. Signed-off-by: Dan Carpenter --- drivers/staging/exfat/exfat_super.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index

Re: [OSSNA] Intro to kernel hacking tutorial

2019-09-04 Thread Anatoly Pugachev
On Mon, Sep 2, 2019 at 5:09 PM Valdis Klētnieks wrote: > > On Mon, 02 Sep 2019 15:42:19 +0300, Anatoly Pugachev said: > > > is it intentionally that you use > > > > yes "" | make oldconfig > > > > instead of > > > > make olddefconfig > > They do something different. 'olddefconfig' just takes the

RE: [PATCH] staging: exfat: cleanup braces for if/else statements

2019-09-04 Thread David Laight
From: Valentin Vidic > Sent: 03 September 2019 19:12 > On Tue, Sep 03, 2019 at 06:32:49PM +0100, Al Viro wrote: > > On Tue, Sep 03, 2019 at 06:47:32PM +0200, Valentin Vidic wrote: > > > + } else if (uni == 0x) { > > > skip = TRUE; > > > > While we are

Re: [PATCH] media: meson: Add NULL check after the call to kmalloc()

2019-09-04 Thread Rasmus Villemoes
On 04/09/2019 10.22, Austin Kim wrote: > If the kmalloc() return NULL, the NULL pointer dereference will occur. > new_ts->ts = ts; > > Add exception check after the call to kmalloc() is made. > > Signed-off-by: Austin Kim > --- > drivers/staging/media/meson/vdec/vdec_helpers.c | 4 >

Re: [PATCH] media: meson: Add NULL check after the call to kmalloc()

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 05:22:32PM +0900, Austin Kim wrote: > If the kmalloc() return NULL, the NULL pointer dereference will occur. > new_ts->ts = ts; > > Add exception check after the call to kmalloc() is made. > > Signed-off-by: Austin Kim > --- >

[PATCH] media: meson: Add NULL check after the call to kmalloc()

2019-09-04 Thread Austin Kim
If the kmalloc() return NULL, the NULL pointer dereference will occur. new_ts->ts = ts; Add exception check after the call to kmalloc() is made. Signed-off-by: Austin Kim --- drivers/staging/media/meson/vdec/vdec_helpers.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH] erofs: using switch-case while checking the inode type.

2019-09-04 Thread Gao Xiang
On Wed, Sep 04, 2019 at 08:31:34AM +0200, Greg KH wrote: > On Wed, Sep 04, 2019 at 10:12:47AM +0800, Gao Xiang wrote: > > Hi Greg, > > > > On Fri, Aug 30, 2019 at 10:22:33PM +0800, Gao Xiang wrote: > > > On Fri, Aug 30, 2019 at 07:59:48PM +0800, Gao Xiang wrote: > > > > Hi Pratik, > > > > > > >

Re: [PATCH] erofs: using switch-case while checking the inode type.

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 10:12:47AM +0800, Gao Xiang wrote: > Hi Greg, > > On Fri, Aug 30, 2019 at 10:22:33PM +0800, Gao Xiang wrote: > > On Fri, Aug 30, 2019 at 07:59:48PM +0800, Gao Xiang wrote: > > > Hi Pratik, > > > > > > The subject line could be better as '[PATCH v2] xx'... > > > > > >

Re: [PATCH v2 00/25] erofs: patchset addressing Christoph's comments

2019-09-04 Thread Gao Xiang
Hi Christoph, On Wed, Sep 04, 2019 at 07:16:55AM +0200, Christoph Hellwig wrote: > On Wed, Sep 04, 2019 at 10:08:47AM +0800, Gao Xiang wrote: > > Hi, > > > > This patchset is based on the following patch by Pratik Shinde, > >