- 29 9月, 2014 35 次提交
-
-
由 Roberta Dobrescu 提交于
This patch replaces non-standard spinlock's macros. It is done using coccinelle and the following semantic patch: @@ expression x; @@ - DGNC_SPINLOCK_INIT(x) + spin_lock_init(&x) @@ expression x, y; @@ - DGNC_LOCK(x, y) + spin_lock_irqsave(&x, y) @@ expression x, y; @@ - DGNC_UNLOCK(x, y) + spin_unlock_irqrestore(&x, y) @used_by_lock exists@ typedef ulong; symbol lock_flags; position p1, p2; @@ ( ulong lock_flags@p1; | unsigned long lock_flags@p2; ) ... ( spin_lock_irqsave(..., lock_flags) | spin_unlock_irqrestore(..., lock_flags) ) @@ position used_by_lock.p1, used_by_lock.p2; @@ ( - ulong lock_flags@p1; + unsigned long flags; | - unsigned long lock_flags@p2; + unsigned long flags; ) <... - lock_flags + flags ...> Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Gulsah Kose 提交于
This patch fixes "please, no space before tabs" checkpatch.pl warning in digi.h Signed-off-by: NGulsah Kose <gulsah.1004@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Esra Altintas 提交于
The following patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return Signed-off-by: NEsra Altintas <es.altintas@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tapasweni Pathak 提交于
This patch fixes checkpatch.pl warning in rtsx.c file. WARNING: void function return statements are not generally useful Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tapasweni Pathak 提交于
This patch fixes checkpatch.pl warning in file ms.c WARNING : Missing a blank line after declarations Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mahati Chamarthy 提交于
This fixes the following checkpatch.pl warnings: WARNING: Missing a blank line after declarations Signed-off-by: NMahati Chamarthy <mahati.chamarthy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tapasweni Pathak 提交于
This patch fixes checkpatch.pl warning in hal_init.c file WARNING : Missing a blank line after declarations Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Catalina Mocanu 提交于
Reformatted function header to silence the following checkpatch.pl error: ERROR: code indent should use tabs where possible Signed-off-by: NCatalina Mocanu <catalina.mocanu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Catalina Mocanu 提交于
This fixes the following checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: NCatalina Mocanu <catalina.mocanu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Heena Sirwani 提交于
The following patch removes the checkpatch.pl warning: WARNING: void function return statements are generally not useful. Signed-off-by: NHeena Sirwani <heenasirwani@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Heena Sirwani 提交于
The following patch fixes the checkpatch.pl warning: WARNING: line over 80 characters. Signed-off-by: NHeena Sirwani <heenasirwani@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Aybuke Ozdemir 提交于
This patch fixes these warning messages found by sparse: drivers/staging/iio/accel/sca3000_ring.c:120:61: warning: incorrect type in argument 1 (different base types) drivers/staging/iio/accel/sca3000_ring.c:120:61: expected restricted __be16 const [usertype] *p drivers/staging/iio/accel/sca3000_ring.c:120:61: got unsigned short [usertype] * Signed-off-by: NAybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roberta Dobrescu 提交于
This fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roberta Dobrescu 提交于
This fixes the following checkpatch.pl warning: WARNING: Unnecessary space before function pointer arguments Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roberta Dobrescu 提交于
This fixes the following checkpatch.pl warning: WARNING: quoted string split across lines Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roberta Dobrescu 提交于
This patch adds #include guards in order to make the header files idempotent. Signed-off-by: NRoberta Dobrescu <roberta.dobrescu@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Vaishali Thakkar 提交于
This patch fixes following checkpatch.pl warning: WARNING: else is not generally useful after a break or return Signed-off-by: NVaishali Thakkar <vthakkar1994@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roxana Blaj 提交于
This fixes the checkpatch.pl warning: WARNING: macros should not use a trailing semicolon Signed-off-by: NRoxana Blaj <roxanagabriela10@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Aybuke Ozdemir 提交于
This patch fixes these warning messages found by checkpatch.pl: WARNING : Missing a blank line after declarations. Signed-off-by: NAybuke Ozdemir <aybuke.147@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Roxana Blaj 提交于
This fixes the checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: NRoxana Blaj <roxanagabriela10@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Vaishali Thakkar 提交于
This patch fixes following checkpatch.pl warning: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: NVaishali Thakkar <vthakkar1994@gmail.com> Acked-by: NDaniel Baluta <daniel.baluta@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Esra Altintas 提交于
The following patch fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: NEsra Altintas <es.altintas@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Yeliz Taneroglu 提交于
The following patch the checkpatch.pl warning: drivers/staging/bcm/InterfaceIdleMode.c:215: warning:quoted string split across lines Signed-off-by: NYeliz Taneroglu <yeliztaneroglu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Catalina Mocanu 提交于
This fixes the following checkpatch.pl warning: WARNING: else is not generally useful after a break or return. Signed-off-by: NCatalina Mocanu <catalina.mocanu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Aybuke Ozdemir 提交于
This patch fixes checkpatch.pl error in file imx-tve.c WARNING: static const char * array should probably be static const char * const Signed-off-by: NAybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Rahul Garg 提交于
Declared cfg80211_infrastructure_mode method static to remove sparse warning Signed-off-by: NRahul Garg <rahul.lnmiit@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Omar Sandoval 提交于
Fix a few implicit casts between int and gfp_t which were caught by sparse. Signed-off-by: NOmar Sandoval <osandov@osandov.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ramon Fried 提交于
This fixes the following sparse warning: llite_lib.c:1240:5: warning: symbol 'll_md_setattr' was not declared. Should it be static? Signed-off-by: NRamon Fried <ramon.fried@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mathieu OTHACEHE 提交于
This patch fixes the following sparse warnings: drivers/staging/rtl8821ae/pci.c:52:4: warning: symbol '_rtl_mac_to_hwqueue' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:365:6: warning: symbol 'rtl_pci_check_buddy_priv' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:409:6: warning: symbol 'rtl_pci_get_linkcontrol_field' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:1748:6: warning: symbol 'rtl_pci_deinit' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:1763:5: warning: symbol 'rtl_pci_init' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:1780:5: warning: symbol 'rtl_pci_start' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:1814:6: warning: symbol 'rtl_pci_stop' was not declared. Should it be static? drivers/staging/rtl8821ae/pci.c:2105:21: warning: symbol 'hw_export' was not declared. Should it be static? Signed-off-by: NMathieu OTHACEHE <m.othacehe@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Christoph Jaeger 提交于
As these typedefs are only used once, there is no real need for them. Signed-off-by: NChristoph Jaeger <email@christophjaeger.info> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Heinrich Schuchardt 提交于
sync.h recommends to use get_unused_fd which does not set O_CLOEXEC while the rest of the android tree uses get_unused_fd_flags and sets O_CLOEXEC. The patch adjust the comment. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mark Einon 提交于
Reported-by: NJoe Perches <joe@perches.com> Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mark Einon 提交于
Reported-by: NJoe Perches <joe@perches.com> Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mark Einon 提交于
Some split lines are less than 80 chars if rejoined, so rejoin them. Reported-by: NJoe Perches <joe@perches.com> Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mark Einon 提交于
Reported-by: NJoe Perches <joe@perches.com> Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 24 9月, 2014 5 次提交
-
-
由 navin patidar 提交于
struct odm_dm_struct has a member of struct dyn_primary_cca, which is initialized once and then never used by driver, so we can remove struct dyn_promary_cca and code which initialize it. Signed-off-by: Nnavin patidar <navin.patidar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 navin patidar 提交于
Rename CamelCase function name. Remove unnecessary comments. Signed-off-by: Nnavin patidar <navin.patidar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 navin patidar 提交于
Rename CamelCase function name and local variables. Remove unnecessary debugging messages. Signed-off-by: Nnavin patidar <navin.patidar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 navin patidar 提交于
Rename CamelCase function name and local variables. Signed-off-by: Nnavin patidar <navin.patidar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 navin patidar 提交于
Rename CamelCase function name and local variables. Signed-off-by: Nnavin patidar <navin.patidar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-