Quentin LAMBERT

Articles de cet auteur

usb: chipidea: usbmisc_imx: Remove unneeded semicolon

Author: Fabio Estevam <fabio.estevam@freescale.com> Remove unneeded semicolon. The semantic patch that makes this change is available in scripts/coccinelle/misc/semicolon.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Peter Chen — drivers/usb/chipidea/usbmisc_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 140945c..3cefd49 100644 — a/drivers/usb/chipidea/usbmisc_imx.c …

Lire la suite

ARM: imx: gpc: Remove .owner field

Author: Fabio Estevam <fabio.estevam@freescale.com> This platform_driver does not need to set an owner as it will be populated by the driver core. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo — arch/arm/mach-imx/gpc.c | 1 – 1 file …

Lire la suite

staging: lustre: cl_page: delete empty macros

Author: Julia Lawall <Julia.Lawall@lip6.fr> CS_PAGE_INC etc. do nothing, so remove them. The semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression o,item,state; @@ ( – CS_PAGE_INC(o, item); | – CS_PAGE_DEC(o, item); | – CS_PAGESTATE_INC(o, state); | – CS_PAGESTATE_DEC(o, state); ) // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdclass/cl_page.c | 17 …

Lire la suite

staging/lustre/ptlrpc: Replace OBD_CPT_ALLOC etc by kzalloc_node

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace OBD_CPT_ALLOC, OBD_CPT_ALLOC_PTR, and OBD_CPT_ALLOC_GFP by corresponding calls to kzalloc_node. The semantic patch for the OBD_CPT_ALLOC case is as follows: (http://coccinelle.lip6.fr/). // @@ expression ptr,cptab,cpt,size; @@ – OBD_CPT_ALLOC(ptr, cptab, cpt, size) + ptr = kzalloc_node(size, GFP_NOFS, cfs_cpt_spread_node(cptab, cpt)) // Note that the original OBD macros would check if the cptab argument …

Lire la suite

drivers: staging: lustre: lustre: Replace OBD_CPT_ALLOC etc by kzalloc_node

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace OBD_CPT_ALLOC, OBD_CPT_ALLOC_PTR, and OBD_CPT_ALLOC_GFP by corresponding calls to kzalloc_node. The semantic patch for the OBD_CPT_ALLOC case is as follows: (http://coccinelle.lip6.fr/). // @@ expression ptr,cptab,cpt,size; @@ – OBD_CPT_ALLOC(ptr, cptab, cpt, size) + ptr = kzalloc_node(size, GFP_NOFS, cfs_cpt_spread_node(cptab, cpt)) // Note that the original OBD macros would check if the cptab argument …

Lire la suite

staging: lustre: ptlrpc: Replace OBD_CPT_ALLOC etc by kzalloc_node

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace OBD_CPT_ALLOC, OBD_CPT_ALLOC_PTR, and OBD_CPT_ALLOC_GFP by corresponding calls to kzalloc_node. The semantic patch for the OBD_CPT_ALLOC case is as follows: (http://coccinelle.lip6.fr/). // @@ expression ptr,cptab,cpt,size; @@ – OBD_CPT_ALLOC(ptr, cptab, cpt, size) + ptr = kzalloc_node(size, GFP_NOFS, cfs_cpt_spread_node(cptab, cpt)) // Note that the original OBD macros would check if the cptab argument …

Lire la suite

staging: lustre: ldlm: ldlm_lib: remove unneeded null test before free

Author: Julia Lawall <Julia.Lawall@lip6.fr> Kfree can cope with a null argument, so drop null tests. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr; @@ – if (ptr != NULL) kfree(ptr); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Lire la suite

staging: lustre: ldlm: ldlm_lock: remove unneeded null test before free

Author: Julia Lawall <Julia.Lawall@lip6.fr> Kfree can cope with a null argument, so drop null tests. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr; @@ – if (ptr != NULL) kfree(ptr); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Lire la suite

staging: lustre: ldlm: ldlm_resource: remove unneeded null test before free

Author: Julia Lawall <Julia.Lawall@lip6.fr> Kfree can cope with a null argument, so drop null tests. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr; @@ – if (ptr != NULL) { kfree(ptr); ptr = NULL; – } // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 6 ++—- …

Lire la suite

staging: lustre: libcfs: linux: remove unneeded null test before free

Author: Julia Lawall <Julia.Lawall@lip6.fr> Kfree can cope with a null argument, so drop null tests. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr; @@ – if (ptr != NULL) { kfree(ptr); ptr = NULL; – } // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c | 9 ++++—– …

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.