Catégorie : Linux

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 …

Lire la suite

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 …

Lire la suite

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 …

Lire la suite

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 …

Lire la suite

hwmon: (jc42) fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/jc42.c:521:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/jc42.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index f362cea..6013611 100644 — a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c @@ -518,10 …

Lire la suite

hwmon: (ltc4261) fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/ltc4261.c:243:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/ltc4261.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/ltc4261.c b/drivers/hwmon/ltc4261.c index 6c50db9..0becd69 100644 — a/drivers/hwmon/ltc4261.c +++ b/drivers/hwmon/ltc4261.c @@ -240,10 …

Lire la suite

hwmon: (lm95234) fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/lm95234.c:704:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/lm95234.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/lm95234.c b/drivers/hwmon/lm95234.c index cf87507..411202b 100644 — a/drivers/hwmon/lm95234.c +++ b/drivers/hwmon/lm95234.c @@ -701,10 …

Lire la suite

hwmon: (max6697) fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/max6697.c:649:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/max6697.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/max6697.c b/drivers/hwmon/max6697.c index 0af910a..7fd3eaf 100644 — a/drivers/hwmon/max6697.c +++ b/drivers/hwmon/max6697.c @@ -646,10 …

Lire la suite

hwmon: (max6642 fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/max6642.c:299:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/max6642.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/max6642.c b/drivers/hwmon/max6642.c index 3d61f8d..8326fbd 100644 — a/drivers/hwmon/max6642.c +++ b/drivers/hwmon/max6642.c @@ -296,10 …

Lire la suite

hwmon: (ds1621) fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/hwmon/ds1621.c:381:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck — drivers/hwmon/ds1621.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff –git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index 5e398c9..872d767 100644 — a/drivers/hwmon/ds1621.c +++ b/drivers/hwmon/ds1621.c @@ -378,10 …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.