- 16 7月, 2017 40 次提交
-
-
由 Kamal Heib 提交于
Fix the following sparse warning: symbol '__ion_add_cma_heaps' was not declared. Should it be static? Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NKamal Heib <kamalheib1@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ioana Radulescu 提交于
All possible values of the switch statement are explicitly handled, so there's no need to have a default branch. Signed-off-by: NIoana Radulescu <ruxandra.radulescu@nxp.com> Acked-by: NBogdan Purcareata <bogdan.purcareata@nxp.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Erik Arfvidson 提交于
This patch fixes visorbus_main.c improper function brackets. for the following functions: partition_handle_show partition_guid_show partition_name_show channel_addr_show channel_bytes_show channel_id_show Signed-off-by: NErik Arfvidson <erik.arfvidson@gmail.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Zachary Dremann 提交于
As reported by checkpatch.pl, replace hardcoded uses of the current function's name in format strings with uses of __func__. Signed-off-by: NZachary Dremann <dremann@gmail.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Zachary Dremann 提交于
Several structure initializations all had their members indented with 2 tabs instead of one. Remove the extra tabs. Signed-off-by: NZachary Dremann <dremann@gmail.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Steve Wilson 提交于
Removed extra tabs in visorbus_get_device_by_id function. Signed-off-by: NSteve Wilson <steven.d.wilson@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Removes unnecessary blank lines to create a more uniform coding style. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Adjusts presence of blank lines to create a more uniform coding style. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Adjusts spacing and removes unnecessary blank lines to create a more uniform coding style. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Adjusts spacing and removes unnecessary blank lines to create a more uniform coding style. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Refactors existing static function comments to increase code readability. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Renames MYDRVNAME to better fit with the surrounding driver namespace. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Removes unused MYDRVNAME define. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Binder 提交于
Fixes minor spelling mistake: stired -> stored. Signed-off-by: NDavid Binder <david.binder@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Added kernel-doc like comments and cleaned up the inline comments in the structures. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Added kernel-doc like comments and cleaned up the inline comments in the structures. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 David Kershner 提交于
Several MACROS were not in use by the code, get rid of them. Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Added kernel-doc like comments and cleaned up the inline comments in the structures. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of the lines. Added kernel-doc like comments and cleaned up the inline comments in the structures. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sameer Wadgaonkar 提交于
Removed comments from the right side of lines and fixed spacing in comments. Added kernel-doc like comments and cleaned up the inline comments in the structures. Signed-off-by: NSameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: NDavid Kershner <david.kershner@unisys.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Dmitriy Cherkasov 提交于
After removing commented out code, ksocknal_csum() becomes a useless wrapper for crc32_le(). Remove it, and instead call crc32_le() directly. Fixes the following checkpatch warning: WARNING: space prohibited before semicolon Signed-off-by: NDmitriy Cherkasov <dmitriy@oss-tech.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Thomas Gardner 提交于
The below warning is resolved by removing the cpu_to_le32() call. This call was redundant; vdm_run_state_machine() ensures that SVDM responses have the correct endianness before sending. typec/tcpm.c:1019:49: warning: incorrect type in assignment (different base types) typec/tcpm.c:1019:49: expected unsigned int [unsigned] [usertype] <noident> typec/tcpm.c:1019:49: got restricted __le32 [usertype] <noident> Signed-off-by: NThomas Gardner <tmg@fastmail.com> Reviewed-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Shreeya Patel 提交于
Move constant to the right of a relational operator. This coding style is more common for the kernel code. Problem found by checkpatch. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Muhammad Falak R Wani 提交于
Replace the explicit "if (val != NULL)" with if (val). Signed-off-by: NMuhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Arushi Singhal 提交于
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: NArushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mitchell Tasman 提交于
Adjust formatting of several comments to keep line length within the 80 column limit preferred by the Linux kernel coding style. Signed-off-by: NMitchell Tasman <tasman@leaflabs.com> Acked-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Aleksey Rybalkin 提交于
According to checkpatch warning, block comments should align the * on each line. Also, preferred style for multi-line comments is starting the comment text after the second *. Signed-off-by: NAleksey Rybalkin <aleksey@rybalkin.org> Acked-by: NJohan Hovold <johan@kernel.org> Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ilia Sergachev 提交于
txq_count receives a value from wilc_wlan_handle_txq() and therefore should be u32 found using sparse: drivers/staging/wilc1000/linux_wlan.c:306:58: warning: incorrect type in argument 2 (different signedness) Signed-off-by: NIlia Sergachev <ilia.sergachev@unibas.ch> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Dmitriy Cherkasov 提交于
Add missing parameter name to fix the following checkpatch.pl warning: WARNING: function definition argument 'struct device *' should also have an identifier name Signed-off-by: NDmitriy Cherkasov <dmitriy@oss-tech.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Colin Ian King 提交于
Trivial fix to typos in netdev_err error messages. I should have spotted this in a previous round of spelling mistake checks on this driver but this one slipped through. Signed-off-by: NColin Ian King <colin.king@canonical.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Joe Perches 提交于
All uses of refresh_scan() have a constant 1 as the second argument. Remove it and neaten the function declaration. Miscellanea: o Remove overly deep indentation by using continue; o Remove unnecessary test of the address of a static array as it's always non-zero o Rename and use proper type for the first void * argument as it's always the struct wilc_priv * o Move variables into loop where used Signed-off-by: NJoe Perches <joe@perches.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Simon Sandström 提交于
Fixes checkpatch.pl alignment warnings. Signed-off-by: NSimon Sandström <simon@nikanor.nu> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Simon Sandström 提交于
Fixes checkpatch.pl alignment warnings. Signed-off-by: NSimon Sandström <simon@nikanor.nu> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-