Quentin LAMBERT

Author's posts

net: hisilicon: fix handling platform_get_irq result

Author: Andrzej Hajda <a.hajda@samsung.com> The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: David S. Miller — drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/hip04_eth.c index cc2d8b4..253f8ed 100644 — a/drivers/net/ethernet/hisilicon/hip04_eth.c +++ b/drivers/net/ethernet/hisilicon/hip04_eth.c @@ …

Continue reading

[media] staging: media: omap4iss: fix handling platform_get_irq result

Author: Andrzej Hajda <a.hajda@samsung.com> The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: Mauro Carvalho Chehab — drivers/staging/media/omap4iss/iss.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-)   diff –git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index 9bfb725..0b03cb7 100644 — a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ …

Continue reading

[media] media: am437x-vpfe: fix handling platform_get_irq result

Author: Andrzej Hajda <a.hajda@samsung.com> The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: Mauro Carvalho Chehab — drivers/media/platform/am437x/am437x-vpfe.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-)   diff –git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c index 488d275..6751aec 100644 — a/drivers/media/platform/am437x/am437x-vpfe.c +++ b/drivers/media/platform/am437x/am437x-vpfe.c @@ …

Continue reading

[media] v4l: omap3isp: Fix handling platform_get_irq result

Author: Andrzej Hajda <a.hajda@samsung.com> The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab — drivers/media/platform/omap3isp/isp.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-)   diff –git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index 79a0b95..97f6b18 100644 — a/drivers/media/platform/omap3isp/isp.c …

Continue reading

spi: davinci: fix handling platform_get_irq result

Author: Andrzej Hajda <a.hajda@samsung.com> The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: Mark Brown — drivers/spi/spi-davinci.c | 7 ++++— 1 file changed, 4 insertions(+), 3 deletions(-)   diff –git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index 3cf9faa..a85d863 100644 — a/drivers/spi/spi-davinci.c +++ b/drivers/spi/spi-davinci.c @@ -992,11 …

Continue reading

SUNRPC: fix variable type

Author: Andrzej Hajda <a.hajda@samsung.com> Due to incorrect len type bc_send_request returned always zero. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda Signed-off-by: Trond Myklebust — net/sunrpc/xprtsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 94824ff..1d1a704 100644 — a/net/sunrpc/xprtsock.c +++ …

Continue reading

wm831x_power: Use IRQF_ONESHOT to request threaded IRQs

Author: Valentin Rothberg <valentinrothberg@gmail.com> Since commit 1c6c69525b40 (“genirq: Reject bogus threaded irq requests”) threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. scripts/coccinelle/misc/irqf_oneshot.cocci detected this issue. Fixes: b5874f33bbaf (“wm831x_power: Use genirq”) Signed-off-by: Valentin Rothberg Signed-off-by: Sebastian Reichel — drivers/power/wm831x_power.c | 6 +++— 1 file changed, 3 insertions(+), …

Continue reading

iio: apds9960: light: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> drivers/iio/light/apds9960.c:986:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Matt Ranostay Signed-off-by: Fengguang Wu Signed-off-by: Jonathan Cameron — drivers/iio/light/apds9960.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-)   diff –git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c index 27f4157..8d7ce6a …

Continue reading

iio: light: apds9960: fix platform_no_drv_owner.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> drivers/iio/light/apds9960.c:1125:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Matt Ranostay Signed-off-by: Fengguang Wu Signed-off-by: Jonathan Cameron — drivers/iio/light/apds9960.c | 1 – 1 file changed, 1 deletion(-)   diff –git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c …

Continue reading

iio: adc: vf610: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> drivers/iio/adc/vf610_adc.c:766:1-4: WARNING: end returns can be simpified and declaration on line 755 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Sanchayan Maity Signed-off-by: Fengguang Wu Signed-off-by: Jonathan Cameron — drivers/iio/adc/vf610_adc.c | 8 ++—— 1 file changed, 2 insertions(+), 6 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.