Re: [PATCH] staging: rtl8188eu: fix possible null dereference

2019-09-25 Thread Larry Finger
On 9/25/19 4:32 PM, Connor Kuehl wrote: Inside a nested 'else' block at the beginning of this function is a call that assigns 'psta' to the return value of 'rtw_get_stainfo()'. If 'rtw_get_stainfo()' returns NULL and the flow of control reaches the 'else if' where 'psta' is dereferenced, then we

RE: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-09-25 Thread Dexuan Cui
> From: devel On Behalf Of > Dexuan Cui > Sent: Monday, September 2, 2019 5:35 PM > To: lorenzo.pieral...@arm.com; bhelg...@google.com; > linux-...@vger.kernel.org > [..snipped...] > > --- > > > > changes in v2: > > Updated the changelog with more details. > > > > drivers/pci/pci-driver.c |

[PATCH] staging: rtl8188eu: fix possible null dereference

2019-09-25 Thread Connor Kuehl
Inside a nested 'else' block at the beginning of this function is a call that assigns 'psta' to the return value of 'rtw_get_stainfo()'. If 'rtw_get_stainfo()' returns NULL and the flow of control reaches the 'else if' where 'psta' is dereferenced, then we will dereference a NULL pointer. Fix

Re: Hardware prerequisites for driver development

2019-09-25 Thread Rohit Sarkar
On Wed, Sep 25, 2019 at 10:32:02AM +0200, Crt Mori wrote: > Hi Rohit, > There are many companies for hobbyists which sell sensors included in > IIO subsystem and for sure some electronic component store in your > local area. Price of sensor can be from 0.10 USD to 10 USD. Then you > plug this

[PATCH] staging: exfat: Use kvzalloc() instead of kzalloc() for exfat_sb_info

2019-09-25 Thread jiayeli
From: Jia-Ye Li Fix mount failed "Cannot allocate memory". When the memory gets fragmented, kzalloc() might fail to allocate physically contiguous pages for the struct exfat_sb_info (its size is about 34KiB) even the total free memory is enough. Use kvzalloc() to solve this problem.

Re: Hardware prerequisites for driver development

2019-09-25 Thread Crt Mori
Hi Rohit, There are many companies for hobbyists which sell sensors included in IIO subsystem and for sure some electronic component store in your local area. Price of sensor can be from 0.10 USD to 10 USD. Then you plug this sensor to your Linux board (Beaglebone Black is Linux Foundation

Re: [PATCH v2] staging: olpc_dcon: fix wrong dependencies in Kconfig file

2019-09-25 Thread Dan Carpenter
Thanks! regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Hardware prerequisites for driver development

2019-09-25 Thread Rohit Sarkar
Hi, This is probably a real rookie question. I have been interested in contributing to the driver subsystems such as iio. I have submitted some minor patches but nothing substantial. I feel that I need some hardware to be able to contribute more. What hardware would I need to get started? Where

[PATCH v2] staging: olpc_dcon: fix wrong dependencies in Kconfig file

2019-09-25 Thread Jerry Lin
To allow simultaneous support for XO-1 and XO-1.5. This module require GPIO_CS5535 (for 1.0) and ACPI (for 1.5) now. Reported-by: kbuild test robot Signed-off-by: Jerry Lin --- Changes in v2: - Remove the parentheses --- drivers/staging/olpc_dcon/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH] staging: olpc_dcon: fix wrong dependencies in Kconfig file

2019-09-25 Thread Dan Carpenter
On Wed, Sep 25, 2019 at 03:25:33PM +0800, Jerry Lin wrote: > To allow simultaneous support for XO-1 and XO-1.5. > This module require GPIO_CS5535 (for 1.0) and ACPI (for 1.5) now. > > Reported-by: kbuild test robot > Signed-off-by: Jerry Lin > --- > drivers/staging/olpc_dcon/Kconfig | 2 +- >

[PATCH] staging: olpc_dcon: fix wrong dependencies in Kconfig file

2019-09-25 Thread Jerry Lin
To allow simultaneous support for XO-1 and XO-1.5. This module require GPIO_CS5535 (for 1.0) and ACPI (for 1.5) now. Reported-by: kbuild test robot Signed-off-by: Jerry Lin --- drivers/staging/olpc_dcon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git