On Friday 27 April 2018 08:26 PM, Michal Hocko wrote:
On Thu 26-04-18 21:12:09, Arvind Yadav wrote:
if device_register() returned an error. Always use put_device()
to give up the initialized reference and release allocated memory.
Is this patch correct? The docummentation says
* NOTE:
On Friday 27 April 2018 08:26 PM, Michal Hocko wrote:
On Thu 26-04-18 21:12:09, Arvind Yadav wrote:
if device_register() returned an error. Always use put_device()
to give up the initialized reference and release allocated memory.
Is this patch correct? The docummentation says
* NOTE:
On Friday 27 April 2018 06:32 PM, Alex Elder wrote:
On 04/27/2018 07:50 AM, Arvind Yadav wrote:
On Friday 27 April 2018 05:47 PM, Alex Elder wrote:
On 04/27/2018 05:52 AM, Arvind Yadav wrote:
Replace the manual validity checks for the GPIO with the
gpio_is_valid().
I haven't looked
On Friday 27 April 2018 06:32 PM, Alex Elder wrote:
On 04/27/2018 07:50 AM, Arvind Yadav wrote:
On Friday 27 April 2018 05:47 PM, Alex Elder wrote:
On 04/27/2018 05:52 AM, Arvind Yadav wrote:
Replace the manual validity checks for the GPIO with the
gpio_is_valid().
I haven't looked
On Wednesday 25 April 2018 09:14 PM, Shannon Nelson wrote:
On 4/25/2018 7:56 AM, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error. Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind Yadav
On Wednesday 25 April 2018 09:14 PM, Shannon Nelson wrote:
On 4/25/2018 7:56 AM, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error. Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind Yadav
---
On Friday 13 April 2018 07:59 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 11:15, arvindY wrote:
Hi Chanwoo,
On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 10:03, Chanwoo Choi wrote:
Hi,
I'm sorry for the late reply.
On 2018년 03월 30일 20:44, Arvind Yadav wrote:
Never
On Friday 13 April 2018 07:59 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 11:15, arvindY wrote:
Hi Chanwoo,
On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 10:03, Chanwoo Choi wrote:
Hi,
I'm sorry for the late reply.
On 2018년 03월 30일 20:44, Arvind Yadav wrote:
Never
Hi Chanwoo,
On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 10:03, Chanwoo Choi wrote:
Hi,
I'm sorry for the late reply.
On 2018년 03월 30일 20:44, Arvind Yadav wrote:
Never directly free @dev after calling device_register() or
device_unregister(), even if
Hi Chanwoo,
On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote:
On 2018년 04월 13일 10:03, Chanwoo Choi wrote:
Hi,
I'm sorry for the late reply.
On 2018년 03월 30일 20:44, Arvind Yadav wrote:
Never directly free @dev after calling device_register() or
device_unregister(), even if
On Thursday 12 April 2018 07:00 AM, Jia-Ju Bai wrote:
On 2018/4/12 0:16, James Bottomley wrote:
On Wed, 2018-04-11 at 23:39 +0800, Jia-Ju Bai wrote:
de4x5_hw_init() is never called in atomic context.
de4x5_hw_init() is only called by de4x5_pci_probe(), which is only
set as ".probe" in
On Thursday 12 April 2018 07:00 AM, Jia-Ju Bai wrote:
On 2018/4/12 0:16, James Bottomley wrote:
On Wed, 2018-04-11 at 23:39 +0800, Jia-Ju Bai wrote:
de4x5_hw_init() is never called in atomic context.
de4x5_hw_init() is only called by de4x5_pci_probe(), which is only
set as ".probe" in
On Tuesday 27 March 2018 09:37 PM, Mathieu Poirier wrote:
On 26 March 2018 at 20:30, arvindY <arvind.yadav...@gmail.com> wrote:
On Tuesday 27 March 2018 03:16 AM, Mathieu Poirier wrote:
drivers/hwtracing/coresight/coresight.c
On 18 March 2018 at 01:38, Arvind Yadav <arv
On Tuesday 27 March 2018 09:37 PM, Mathieu Poirier wrote:
On 26 March 2018 at 20:30, arvindY wrote:
On Tuesday 27 March 2018 03:16 AM, Mathieu Poirier wrote:
drivers/hwtracing/coresight/coresight.c
On 18 March 2018 at 01:38, Arvind Yadav wrote:
Never directly free @dev after calling
On Tuesday 27 March 2018 03:16 AM, Mathieu Poirier wrote:
drivers/hwtracing/coresight/coresight.c
On 18 March 2018 at 01:38, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error. Always use put_device() to give
On Tuesday 27 March 2018 03:16 AM, Mathieu Poirier wrote:
drivers/hwtracing/coresight/coresight.c
On 18 March 2018 at 01:38, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error. Always use put_device() to give up the
reference
On Wednesday 14 March 2018 08:06 PM, Boris Brezillon wrote:
On Fri, 9 Mar 2018 16:20:48 +0530
Arvind Yadav wrote:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
On Wednesday 14 March 2018 08:06 PM, Boris Brezillon wrote:
On Fri, 9 Mar 2018 16:20:48 +0530
Arvind Yadav wrote:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
---
drivers/mtd/mtdcore.c | 1 +
1 file
On Thursday 15 March 2018 11:14 PM, Chris Leech wrote:
On Wed, Mar 07, 2018 at 05:07:33PM +0530, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind
On Thursday 15 March 2018 11:14 PM, Chris Leech wrote:
On Wed, Mar 07, 2018 at 05:07:33PM +0530, Arvind Yadav wrote:
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind
On Thursday 15 March 2018 02:17 PM, Arvind Yadav wrote:
On Thursday 15 March 2018 01:25 PM, Richard Weinberger wrote:
Am Donnerstag, 15. März 2018, 08:20:31 CET schrieb Arvind Yadav:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Like
On Thursday 15 March 2018 02:17 PM, Arvind Yadav wrote:
On Thursday 15 March 2018 01:25 PM, Richard Weinberger wrote:
Am Donnerstag, 15. März 2018, 08:20:31 CET schrieb Arvind Yadav:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Like
On Monday 12 March 2018 10:59 PM, Richard Weinberger wrote:
On Mon, Mar 12, 2018 at 5:27 PM, arvindY <arvind.yadav...@gmail.com> wrote:
On Monday 12 March 2018 08:13 PM, David Miller wrote:
From: Arvind Yadav <arvind.yadav...@gmail.com>
Date: Fri, 9 Mar 2018 16
On Monday 12 March 2018 10:59 PM, Richard Weinberger wrote:
On Mon, Mar 12, 2018 at 5:27 PM, arvindY wrote:
On Monday 12 March 2018 08:13 PM, David Miller wrote:
From: Arvind Yadav
Date: Fri, 9 Mar 2018 16:11:17 +0530
if device_register() returned an error! Always use put_device
On Monday 12 March 2018 08:13 PM, David Miller wrote:
From: Arvind Yadav
Date: Fri, 9 Mar 2018 16:11:17 +0530
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
On Monday 12 March 2018 08:13 PM, David Miller wrote:
From: Arvind Yadav
Date: Fri, 9 Mar 2018 16:11:17 +0530
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
I do not see anything giving cls_dev an initial
On Wednesday 07 March 2018 11:08 PM, Michael Büsch wrote:
On Wed, 7 Mar 2018 22:46:14 +0530
arvindY <arvind.yadav...@gmail.com> wrote:
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index 65420a9..c4449e0 100644
--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -521,6
On Wednesday 07 March 2018 11:08 PM, Michael Büsch wrote:
On Wed, 7 Mar 2018 22:46:14 +0530
arvindY wrote:
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index 65420a9..c4449e0 100644
--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -521,6 +521,7 @@ static int ssb_devices_register
On Wednesday 07 March 2018 10:17 PM, Michael Büsch wrote:
On Wed, 7 Mar 2018 15:31:30 +0530
Arvind Yadav wrote:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
On Wednesday 07 March 2018 10:17 PM, Michael Büsch wrote:
On Wed, 7 Mar 2018 15:31:30 +0530
Arvind Yadav wrote:
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav
---
drivers/ssb/main.c | 1 +
1 file
Hi,
On Wednesday 27 December 2017 01:49 PM, Krzysztof Kozlowski wrote:
On Tue, Dec 26, 2017 at 7:50 PM, Arvind Yadav wrote:
gpio_led are not supposed to change at runtime.
struct gpio_led_platform_data working with const gpio_led
provided by . So mark the non-const
Hi,
On Wednesday 27 December 2017 01:49 PM, Krzysztof Kozlowski wrote:
On Tue, Dec 26, 2017 at 7:50 PM, Arvind Yadav wrote:
gpio_led are not supposed to change at runtime.
struct gpio_led_platform_data working with const gpio_led
provided by . So mark the non-const structs
as const.
Hi,
On Tuesday 26 December 2017 11:12 PM, Krzysztof Kozlowski wrote:
On Tue, Dec 26, 2017 at 7:37 AM, Arvind Yadav wrote:
Signed-off-by: Arvind Yadav
Please write one-sentence long, easy to understand message describing
the change.
Best
Hi,
On Tuesday 26 December 2017 11:12 PM, Krzysztof Kozlowski wrote:
On Tue, Dec 26, 2017 at 7:37 AM, Arvind Yadav wrote:
Signed-off-by: Arvind Yadav
Please write one-sentence long, easy to understand message describing
the change.
Best regards,
Krzysztof
Thanks for review comment. I will
Hi Ressell,
On Saturday 23 December 2017 03:43 PM, Russell King - ARM Linux wrote:
On Wed, Dec 20, 2017 at 02:17:41PM +0530, Arvind Yadav wrote:
gpio_led are not supposed to change at runtime.
struct gpio_led_platform_data working with const gpio_led
provided by . So mark the non-const structs
Hi Ressell,
On Saturday 23 December 2017 03:43 PM, Russell King - ARM Linux wrote:
On Wed, Dec 20, 2017 at 02:17:41PM +0530, Arvind Yadav wrote:
gpio_led are not supposed to change at runtime.
struct gpio_led_platform_data working with const gpio_led
provided by . So mark the non-const structs
Hi,
Sorry for trouble, I will send updated patch.
On Sunday 24 December 2017 11:24 PM, kbuild test robot wrote:
Hi Arvind,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm-soc/for-next]
[also build test ERROR on v4.15-rc5 next-20171222]
[if your patch is
Hi,
Sorry for trouble, I will send updated patch.
On Sunday 24 December 2017 11:24 PM, kbuild test robot wrote:
Hi Arvind,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm-soc/for-next]
[also build test ERROR on v4.15-rc5 next-20171222]
[if your patch is
Hi David,
On Wednesday 06 December 2017 05:49 PM, Sergei Shtylyov wrote:
On 12/05/2017 06:49 PM, David Miller wrote:
From: Arvind Yadav
Date: Mon, 4 Dec 2017 23:18:20 +0530
@@ -120,9 +120,10 @@ static int sni_82596_probe(struct
platform_device
*dev)
Hi David,
On Wednesday 06 December 2017 05:49 PM, Sergei Shtylyov wrote:
On 12/05/2017 06:49 PM, David Miller wrote:
From: Arvind Yadav
Date: Mon, 4 Dec 2017 23:18:20 +0530
@@ -120,9 +120,10 @@ static int sni_82596_probe(struct
platform_device
*dev)
netdevice->dev_addr[5] =
On Monday 04 December 2017 10:12 PM, Russell King - ARM Linux wrote:
On Mon, Dec 04, 2017 at 11:34:48AM -0500, David Miller wrote:
From: Russell King - ARM Linux
Date: Mon, 4 Dec 2017 16:24:47 +
On Mon, Dec 04, 2017 at 11:20:49AM -0500, David Miller wrote:
From:
On Monday 04 December 2017 10:12 PM, Russell King - ARM Linux wrote:
On Mon, Dec 04, 2017 at 11:34:48AM -0500, David Miller wrote:
From: Russell King - ARM Linux
Date: Mon, 4 Dec 2017 16:24:47 +
On Mon, Dec 04, 2017 at 11:20:49AM -0500, David Miller wrote:
From: Arvind Yadav
Date:
Hi Sergei,
On Sunday 03 December 2017 01:36 AM, Sergei Shtylyov wrote:
Hello!
On 12/02/2017 10:26 PM, Arvind Yadav wrote:
platform_get_irq() and platform_get_resource() can fail here and
we must check its return value.
Signed-off-by: Arvind Yadav
---
Hi Sergei,
On Sunday 03 December 2017 01:36 AM, Sergei Shtylyov wrote:
Hello!
On 12/02/2017 10:26 PM, Arvind Yadav wrote:
platform_get_irq() and platform_get_resource() can fail here and
we must check its return value.
Signed-off-by: Arvind Yadav
---
drivers/net/fjes/fjes_main.c | 10
Hi Sergei,
On Sunday 03 December 2017 01:38 AM, Sergei Shtylyov wrote:
Hello.
On 12/02/2017 10:26 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Hi Sergei,
On Sunday 03 December 2017 01:38 AM, Sergei Shtylyov wrote:
Hello.
On 12/02/2017 10:26 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Hi Linus,
On Saturday 02 December 2017 09:00 PM, Linus Walleij wrote:
Hi Arvind,
thanks for the patch!
On Thu, Nov 30, 2017 at 3:12 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success.
Hi Linus,
On Saturday 02 December 2017 09:00 PM, Linus Walleij wrote:
Hi Arvind,
thanks for the patch!
On Thu, Nov 30, 2017 at 3:12 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error
Hi Greg,
On Thursday 30 November 2017 10:11 PM, Greg KH wrote:
On Thu, Nov 30, 2017 at 09:13:35PM +0530, Arvind Yadav wrote:
platform_get_irq() can fail here and we must check its return value.
Signed-off-by: Arvind Yadav
---
Hi Greg,
On Thursday 30 November 2017 10:11 PM, Greg KH wrote:
On Thu, Nov 30, 2017 at 09:13:35PM +0530, Arvind Yadav wrote:
platform_get_irq() can fail here and we must check its return value.
Signed-off-by: Arvind Yadav
---
drivers/staging/irda/drivers/pxaficp_ir.c | 10 ++
1
Hi Dmitry,
Sorry for troubling you. I need to push others also. Please share
your review comment.
Thanks,
On Tuesday 21 November 2017 09:41 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error
Hi Dmitry,
Sorry for troubling you. I need to push others also. Please share
your review comment.
Thanks,
On Tuesday 21 November 2017 09:41 PM, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error
Hi Joe,
On Saturday 25 November 2017 04:32 PM, Joe Perches wrote:
On Sat, 2017-11-25 at 16:04 +0530, Arvind Yadav wrote:
[]
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c
[]
@@ -84,7 +84,7 @@ static int pdc2027x_set_mode(struct ata_link *link, struct
ata_device
Hi Joe,
On Saturday 25 November 2017 04:32 PM, Joe Perches wrote:
On Sat, 2017-11-25 at 16:04 +0530, Arvind Yadav wrote:
[]
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c
[]
@@ -84,7 +84,7 @@ static int pdc2027x_set_mode(struct ata_link *link, struct
ata_device
Hi Sergei,
On Saturday 25 November 2017 03:30 PM, Sergei Shtylyov wrote:
On 11/25/2017 7:15 AM, Arvind Yadav wrote:
Here, The function pdc_hardware_init always return zero. So it is not
necessary to check its return value.
Fix these checkpatch.pl error:
ERROR: space prohibited after that
Hi Sergei,
On Saturday 25 November 2017 03:30 PM, Sergei Shtylyov wrote:
On 11/25/2017 7:15 AM, Arvind Yadav wrote:
Here, The function pdc_hardware_init always return zero. So it is not
necessary to check its return value.
Fix these checkpatch.pl error:
ERROR: space prohibited after that
Hi Dmitry,
On Sunday 19 November 2017 12:00 AM, Dmitry Torokhov wrote:
On Sat, Nov 18, 2017 at 04:25:08PM +0530, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not
Hi Dmitry,
On Sunday 19 November 2017 12:00 AM, Dmitry Torokhov wrote:
On Sat, Nov 18, 2017 at 04:25:08PM +0530, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not
Hi,
On Monday 20 November 2017 07:07 PM, Alexandre Belloni wrote:
On 19/11/2017 at 09:45:00 +0530, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Hi,
On Monday 20 November 2017 07:07 PM, Alexandre Belloni wrote:
On 19/11/2017 at 09:45:00 +0530, Arvind Yadav wrote:
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
hi,
On Thursday 16 November 2017 07:27 PM, Ian Abbott wrote:
On 16/11/17 04:32, Arvind Yadav wrote:
pnp_irq() and pnp_port_start() can fail here and we must check
its return value.
Signed-off-by: Arvind Yadav
---
drivers/staging/comedi/drivers/ni_atmio.c | 3 +++
hi,
On Thursday 16 November 2017 07:27 PM, Ian Abbott wrote:
On 16/11/17 04:32, Arvind Yadav wrote:
pnp_irq() and pnp_port_start() can fail here and we must check
its return value.
Signed-off-by: Arvind Yadav
---
drivers/staging/comedi/drivers/ni_atmio.c | 3 +++
1 file changed, 3
On Tuesday 14 November 2017 11:44 PM, Dmitry Torokhov wrote:
On Tue, Nov 14, 2017 at 07:15:14PM +0530, Arvind Yadav wrote:
Here, key_dev is NULL in input_free_device() and It will not free
memory occupied by davinci key scan device. Move "key_dev = NULL"
after input_free_device().
No, this
On Tuesday 14 November 2017 11:44 PM, Dmitry Torokhov wrote:
On Tue, Nov 14, 2017 at 07:15:14PM +0530, Arvind Yadav wrote:
Here, key_dev is NULL in input_free_device() and It will not free
memory occupied by davinci key scan device. Move "key_dev = NULL"
after input_free_device().
No, this
Hi Andrey,
I have added NULL check for usb_ifnum_to_if() and send a patch.
Please re-test it.
~arvind
On Monday 09 October 2017 11:20 PM, Andrey Konovalov wrote:
Hi!
I've got the following report while fuzzing the kernel with syzkaller.
On commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
Hi Andrey,
I have added NULL check for usb_ifnum_to_if() and send a patch.
Please re-test it.
~arvind
On Monday 09 October 2017 11:20 PM, Andrey Konovalov wrote:
Hi!
I've got the following report while fuzzing the kernel with syzkaller.
On commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
Sorry for noise, ignore this patch.
On Friday 06 October 2017 10:06 PM, Arvind Yadav wrote:
free_irq() should be called on driver 'dt282x' detach.
Signed-off-by: Arvind Yadav
---
drivers/staging/comedi/drivers/dt282x.c | 5 +
1 file changed, 5 insertions(+)
Sorry for noise, ignore this patch.
On Friday 06 October 2017 10:06 PM, Arvind Yadav wrote:
free_irq() should be called on driver 'dt282x' detach.
Signed-off-by: Arvind Yadav
---
drivers/staging/comedi/drivers/dt282x.c | 5 +
1 file changed, 5 insertions(+)
diff --git
68 matches
Mail list logo