- 21 5月, 2013 5 次提交
-
-
由 Marlies Ruck 提交于
Fixes the following checkpatch warning in zram_drv.c: WARNING: quoted string split across lines Signed-off-by: NMarlies Ruck <marlies.ruck@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Marlies Ruck 提交于
Fixes the following checkpatch warning: WARNING: Line over 80 characters Signed-off-by: NMarlies Ruck <marlies.ruck@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Marlies Ruck 提交于
Fixes the following checkpatch warning: WARNING: quoted string split across lines Signed-off-by: NMarlies Ruck <marlies.ruck@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peter Huewe 提交于
sparse complains about some local functions not being static: drivers/staging/btmtk_usb/btmtk_usb.c:50:6: warning: symbol 'hex_dump' was not declared. Should it be static? drivers/staging/btmtk_usb/btmtk_usb.c:227:5: warning: symbol 'checksume16' was not declared. Should it be static? -> add the static keyword Signed-off-by: NPeter Huewe <peterhuewe@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peter Huewe 提交于
Removing some boilerplate by using module_usb_driver instead of calling register and unregister in the otherwise empty init/exit functions Signed-off-by: NPeter Huewe <peterhuewe@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 20 5月, 2013 14 次提交
-
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch warning, WARNING: line over 80 characters Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: trailing whitespace Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch warning, WARNING: please, no spaces at the start of a line Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: do not use C99 // comments Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error and warning, ERROR: space prohibited before open square bracket '[' WARNING: space prohibited before semicolon Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch warning, WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: spaces required around that ' ' Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: space required before the open parenthesis '(' Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: space required after that ' ' Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: open brace '{' following function declarations go on the next line Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: else should follow close brace '}' Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
This patch fixes the following checkpatch error, ERROR: that open brace { should be on the previous line Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Amarjargal Gundjalam 提交于
Fixes the following checkpatch error, ERROR: return is not a function, parentheses are not required Signed-off-by: NAmarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 18 5月, 2013 19 次提交
-
-
由 Katja Collier 提交于
Put else statements on same line as if statement close bracket in "/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c". Signed-off-by: NKatja Collier <katjacollier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Katja Collier 提交于
Deleted extra spaces before and after parens, added a couple necessary spaces before parens in "/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c" and "/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h". Signed-off-by: NKatja Collier <katjacollier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Katja Collier 提交于
Fixed open braces error in "/staging/ft1000/ft1000-usb/ft1000_ioctl.h" and "/staging/ft1000/ft1000-usb/ft1000_debug.c" by moving braces to the correct line. Signed-off-by: NKatja Collier <katjacollier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Katja Collier 提交于
Replaced C99 style comments with C89 in "/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h". Signed-off-by: NKatja Collier <katjacollier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Katja Collier 提交于
Replaced C99 style comments with C89 in "/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c". Signed-off-by: NKatja Collier <katjacollier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peter Huewe 提交于
The code now contains several dead assignments which are shadowed by another assignment a few lines later. -> This patch removes them (and possibly associated code). Signed-off-by: NPeter Huewe <peterhuewe@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Wei Yongjun 提交于
Since we will remove items off the list using list_del_init() we need to use a safe version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Wei Yongjun 提交于
When return from wl_adapter_insert() in the register_netdev() error handling case, 'ret' which is 0 is returned, but we should return a negative error code instead, so fix to return the return value of register_netdev(). Introduce by commit 657d4c86 (staging: wlags49_h2: fix error handling in pcmcia probe function) Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Hema Prathaban 提交于
Use alloc_etherdev() for kzalloc Signed-off-by: NHema Prathaban <hemaklnce@gmail.com> Acked-by: NPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Lisa Nguyen 提交于
Removed trailing whitespace in Kconfig to meet kernel documentation standards. Signed-off-by: NLisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Lisa Nguyen 提交于
Replaced simple_strtol() function with kstrtol() function in main.c Signed-off-by: NLisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Lisa Nguyen 提交于
Reformatted pointer variables in main.c to meet kernel coding standards. Signed-off-by: NLisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
Use comedi_load_firmware() instead of duplicating the code in a private function. This driver loads multiple firmware images to the device. Modify comedi_load_firmware() to take a 'context' that is passed to the firmware upload callback function. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
Use comedi_load_firmware() instead of duplicating the code in a private function. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
Use comedi_load_firmware() instead of duplicating the code in a private function. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
Move comedi_load_firmware() from jr3_pci.c to drivers.c and export it for general use by the comedi drivers. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
Refactor the function to remove some unnecessary indents and make it a bit more concise. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 H Hartley Sweeten 提交于
kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Xenia Ragiadakou 提交于
This patch fixes the access byteorder of wMaxPacketSize which is __le16, following the USB standard, and needs to be converted into native cpu byteorder in order to be accessed. Instead of using le16_to_cpu(hep->desc.wMaxPacketSize), it was used the usb_endpoint_maxp() function, defined in <uapi/linux/usb/ch9.h> Signed-off-by: NXenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 17 5月, 2013 2 次提交
-
-
由 Xenia Ragiadakou 提交于
This patch fixes the following checkpatch errors, in r8192U_dm.c: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: NXenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Xenia Ragiadakou 提交于
This patch fixes the following checkpatch errors: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: NXenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-