[PATCH] staging: rtl8188eu: cleanup long line in rtw_mlme_ext.c

2019-09-12 Thread Michael Straube
Remove comparsion to NULL and unnecessary parentheses to avoid line length over 80 characters and follow kernel coding style. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Sandro Volery
Use strscpy instead of strcpy in exfat_core.c, and add a check for length that will return already known FFS_INVALIDPATH. Suggested-by: Rasmus Villemoes Signed-off-by: Sandro Volery --- v5: Fixed some whitespaces v4: Replaced strlen check v3: Failed to replace check v2: Forgot to replace strlen

Re: [PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Dan Carpenter
You did it. Well done. :P Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Sandro Volery
> On 12 Sep 2019, at 10:34, Dan Carpenter wrote: > > You did it. Well done. :P > > Reviewed-by: Dan Carpenter Thanks :D Had some issues with my git configuration setting up a home workstation but now it is all fine ___ devel mailing list

[PATCH] staging: rtl8723bs: remove unneeded conversion to bool

2019-09-12 Thread Saiyam Doshi
Relational and logical operators evaluate to bool, explicit conversion is overly verbose and unneeded. This issue found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Saiyam Doshi --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 9 + 1 file changed, 5 insertions(+), 4

[PATCH v2] dt-bindings: iio: accel: add binding documentation for ADIS16240

2019-09-12 Thread Rodrigo Carvalho
This patch add device tree binding documentation for ADIS16240. Signed-off-by: Rodrigo Ribeiro Carvalho --- V2: - Remove true constant for spi-cpha and spi-cpol - Add description field for spi-cpha and spi-cpol - Add maxItems field for spi-cpha and spi-cpol