Author: kbuild test robot <fengguang.wu@intel.com> sound/soc/intel/bytcr_dpcm_rt5640.c:218: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: Subhransu S. Prusty Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/intel/bytcr_dpcm_rt5640.c | 1 – 1 file changed, 1 deletion(-) diff –git a/sound/soc/intel/bytcr_dpcm_rt5640.c …
Category: Linux
Dec 13 2014
mm/zswap: delete unnecessary check before calling free_percpu()
Author: Markus Elfring <elfring@users.sourceforge.net> free_percpu() tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Seth Jennings Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — mm/zswap.c | 3 +– 1 file changed, 1 insertion(+), …
Dec 11 2014
nilfs2: deletion of an unnecessary check before the function call “iput”
Author: Markus Elfring <elfring@users.sourceforge.net> The iput() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Ryusuke Konishi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — fs/nilfs2/the_nilfs.c | 3 +– 1 file changed, …
Dec 07 2014
TTY: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/tty/rocket.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-) diff –git a/drivers/tty/rocket.c b/drivers/tty/rocket.c index 383c4c7..c8dd8dc …
Dec 07 2014
usb: gadget: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: Felipe Balbi — drivers/usb/gadget/function/f_hid.c | 5 +++– drivers/usb/gadget/function/f_midi.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff –git …
Dec 07 2014
drm/i2c: tda998x: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: Russell King — drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index 4dcf474..d853ab5 …
Dec 07 2014
rtlwifi: rtl8821ae: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. 8821 was written as 8812. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: John W. Linville — drivers/net/wireless/rtlwifi/rtl8821ae/dm.c | 11 +++++—— 1 file changed, 5 insertions(+), 6 deletions(-) …
Dec 07 2014
hostap_cs: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: John W. Linville — drivers/net/wireless/hostap/hostap_cs.c | 15 +++++———- 1 file changed, 5 insertions(+), 10 deletions(-) diff –git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index …
Dec 07 2014
chelsio: fix misspelling of current function in string
Author: Julia Lawall <julia.lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/ethernet/chelsio/cxgb/sge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/net/ethernet/chelsio/cxgb/sge.c b/drivers/net/ethernet/chelsio/cxgb/sge.c index …
Dec 07 2014
zd1211rw: fix misspelling of current function in string
Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall Signed-off-by: John W. Linville — drivers/net/wireless/zd1211rw/zd_chip.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-) diff –git a/drivers/net/wireless/zd1211rw/zd_chip.c b/drivers/net/wireless/zd1211rw/zd_chip.c index …