22 May, 2013
5 commits
-
This patch fixes the warning "Use #include instead of
" generated by using checkpatch.pi.Signed-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman -
The existing comments are using an odd style. Fixed them up to adhereto the
StyleGuide. No code changes.Signed-off-by: Sara Bird
Signed-off-by: Greg Kroah-Hartman -
The existing comments are using an odd style. Fixed them up to adhereto the
StyleGuide. No code changes.Signed-off-by: Sara Bird
Signed-off-by: Greg Kroah-Hartman -
The existing comments are using an odd style. Fixed them up to adhere
to the StyleGuide. No code changes.Signed-off-by: Sara Bird
Signed-off-by: Greg Kroah-Hartman -
The existing comments are using an odd style. Fixed them up to adhere
to the StyleGuide. No code changes.Signed-off-by: Sara Bird
Signed-off-by: Greg Kroah-Hartman
21 May, 2013
5 commits
-
Fixes the following checkpatch warning in zram_drv.c:
WARNING: quoted string split across linesSigned-off-by: Marlies Ruck
Signed-off-by: Greg Kroah-Hartman -
Fixes the following checkpatch warning:
WARNING: Line over 80 charactersSigned-off-by: Marlies Ruck
Signed-off-by: Greg Kroah-Hartman -
Fixes the following checkpatch warning:
WARNING: quoted string split across linesSigned-off-by: Marlies Ruck
Signed-off-by: Greg Kroah-Hartman -
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: Peter Huewe
Signed-off-by: Greg Kroah-Hartman -
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functionsSigned-off-by: Peter Huewe
Signed-off-by: Greg Kroah-Hartman
20 May, 2013
14 commits
-
This patch fixes the following checkpatch warning,
WARNING: line over 80 charactersSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: trailing whitespaceSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch warning,
WARNING: please, no spaces at the start of a lineSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: do not use C99 // commentsSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error and warning,
ERROR: space prohibited before open square bracket '['
WARNING: space prohibited before semicolonSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch warning,
WARNING: space prohibited between function name and open parenthesis '('Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: spaces required around that ' 'Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: space required before the open parenthesis '('Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: space required after that ' 'Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: open brace '{' following function declarations go on the next
lineSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: else should follow close brace '}'Signed-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error,
ERROR: that open brace { should be on the previous lineSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman -
Fixes the following checkpatch error,
ERROR: return is not a function, parentheses are not requiredSigned-off-by: Amarjargal Gundjalam
Signed-off-by: Greg Kroah-Hartman
18 May, 2013
16 commits
-
Put else statements on same line as if statement close bracket in
"/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c".Signed-off-by: Katja Collier
Signed-off-by: Greg Kroah-Hartman -
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: Katja Collier
Signed-off-by: Greg Kroah-Hartman -
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: Katja Collier
Signed-off-by: Greg Kroah-Hartman -
Replaced C99 style comments with C89 in
"/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h".Signed-off-by: Katja Collier
Signed-off-by: Greg Kroah-Hartman -
Replaced C99 style comments with C89 in
"/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c".Signed-off-by: Katja Collier
Signed-off-by: Greg Kroah-Hartman -
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: Peter Huewe
Signed-off-by: Greg Kroah-Hartman -
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: Wei Yongjun
Signed-off-by: Greg Kroah-Hartman -
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 657d4c86d4cd85a4696445f6fb2fe0941a5724ff
(staging: wlags49_h2: fix error handling in pcmcia probe function)Signed-off-by: Wei Yongjun
Signed-off-by: Greg Kroah-Hartman -
Use alloc_etherdev() for kzalloc
Signed-off-by: Hema Prathaban
Acked-by: Peter P Waskiewicz Jr
Signed-off-by: Greg Kroah-Hartman -
Removed trailing whitespace in Kconfig to meet kernel
documentation standards.Signed-off-by: Lisa Nguyen
Signed-off-by: Greg Kroah-Hartman -
Replaced simple_strtol() function with kstrtol() function
in main.cSigned-off-by: Lisa Nguyen
Signed-off-by: Greg Kroah-Hartman -
Reformatted pointer variables in main.c to meet kernel coding
standards.Signed-off-by: Lisa Nguyen
Signed-off-by: Greg Kroah-Hartman -
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: H Hartley Sweeten
Cc: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
Use comedi_load_firmware() instead of duplicating the code in a
private function.Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
Use comedi_load_firmware() instead of duplicating the code in a
private function.Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
Move comedi_load_firmware() from jr3_pci.c to drivers.c and export
it for general use by the comedi drivers.Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Signed-off-by: Greg Kroah-Hartman