Articles de cet auteur
Apr 30 2015
staging: lustre: llite: fix ifnullfree.cocci warnings
Author: kbuild test robot <fengguang.wu@intel.com> drivers/staging/lustre/lustre/llite/llite_lib.c:989:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. drivers/staging/lustre/lustre/llite/llite_lib.c:991:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing …
Apr 30 2015
i2o: fix simple_return.cocci warnings
Author: kbuild test robot <fengguang.wu@intel.com> drivers/staging/i2o/iop.c:777:1-3: 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: Alan Cox Signed-off-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman — drivers/staging/i2o/iop.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-) diff –git a/drivers/staging/i2o/iop.c b/drivers/staging/i2o/iop.c index c88df55..3c23790 …
Apr 30 2015
USB: xusbatm.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/atm/xusbatm.c | 6 ++++– 1 file changed, 4 insertions(+), 2 deletions(-) diff –git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c index b3b1bb7..a87597f 100644 …
Apr 30 2015
USB: uss720.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/uss720.c | 6 ++++– 1 file changed, 4 insertions(+), 2 deletions(-) diff –git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c …
Apr 30 2015
USB: usblp.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. Acked-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/class/usblp.c | 15 ++++++++++—– 1 file changed, 10 insertions(+), 5 deletions(-) diff –git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c …
Apr 30 2015
USB: usbatm.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Duncan Sands Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/atm/usbatm.c | 6 ++++– 1 file changed, 4 insertions(+), 2 deletions(-) diff –git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c …
Apr 30 2015
USB: speedtch.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Duncan Sands Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/atm/speedtch.c | 18 ++++++++++++—— 1 file changed, 12 insertions(+), 6 deletions(-) diff –git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c …
Apr 30 2015
USB: sisusb_con.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/sisusbvga/sisusb_con.c | 54 ++++++++++++++++++++++———– 1 file changed, 36 insertions(+), 18 deletions(-) diff –git a/drivers/usb/misc/sisusbvga/sisusb_con.c b/drivers/usb/misc/sisusbvga/sisusb_con.c …
Apr 30 2015
USB: sisusb.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. CC: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/misc/sisusbvga/sisusb.c | 39 ++++++++++++++++++++++++————- 1 file changed, 26 insertions(+), 13 deletions(-) diff –git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c …
Apr 30 2015
USB: ohci-q.c: move assignment out of if () block
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> We should not be doing assignments within an if () block so fix up the code to not do this. change was created using Coccinelle. Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Reviewed-by: Felipe Balbi — drivers/usb/host/ohci-q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff –git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c …