Quentin LAMBERT

Author's posts

mwifiex: Change variable type to bool

Author: Peter Senna Tschudin <peter.senna@gmail.com> The variables cancel_scan_cmd, enable_data, hs_activate and valid are only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ – T + bool b = …; … when any b = …

Continue reading

[media] media: Change variable type to bool

Author: Peter Senna Tschudin <peter.senna@gmail.com> The variable frame_ready is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ – T + bool b = …; … when any b = \(true\|false\) Signed-off-by: Peter Senna …

Continue reading

hv: Change variable type to bool

Author: Peter Senna Tschudin <peter.senna@gmail.com> The variable execute_shutdown is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ – T + bool b = …; … when any b = \(true\|false\) Signed-off-by: Peter Senna …

Continue reading

staging: r8188eu: Add files for new drive: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8188eu/core/rtw_mp.c b/drivers/staging/rtl8188eu/core/rtw_mp.c index c7ff2e4..9832dcb 100644 — a/drivers/staging/rtl8188eu/core/rtw_mp.c +++ b/drivers/staging/rtl8188eu/core/rtw_mp.c @@ -907,7 …

Continue reading

staging: r8188eu: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index cd4100f..95953eb 100644 — a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c @@ -6973,7 …

Continue reading

staging: octeon-usb: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/octeon-usb/cvmx-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index d7b3c82..45dfe94 100644 — a/drivers/staging/octeon-usb/cvmx-usb.c +++ b/drivers/staging/octeon-usb/cvmx-usb.c @@ -604,7 …

Continue reading

staging: r8188eu: Add files for new drive: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c index 9c2e7a2..ec0028d 100644 — a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c @@ -57,7 …

Continue reading

staging: lustre: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdecho/echo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/lustre/lustre/obdecho/echo_client.c b/drivers/staging/lustre/lustre/obdecho/echo_client.c index 2644edf..c8b4344 100644 — a/drivers/staging/lustre/lustre/obdecho/echo_client.c +++ b/drivers/staging/lustre/lustre/obdecho/echo_client.c @@ -1387,7 …

Continue reading

xtensa: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Chris Zankel — arch/xtensa/platforms/iss/network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/arch/xtensa/platforms/iss/network.c b/arch/xtensa/platforms/iss/network.c index 56f88b7..e9e1aad 100644 — a/arch/xtensa/platforms/iss/network.c +++ b/arch/xtensa/platforms/iss/network.c @@ -737,7 …

Continue reading

iio: at91_adc: Cocci spatch “noderef”

Author: Thomas Meyer <thomas@m3y3r.de> sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch “misc/noderef.cocci” Signed-off-by: Thomas Meyer Signed-off-by: Jonathan Cameron — drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 6da5ebb..79c53b8 100644 — a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc/at91_adc.c @@ -279,7 …

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.