13 Aug, 2013
1 commit
-
Removed the unneeded SBE_INCLUDE_SYMBOLS #define, and the associated STATIC
#define, and replaced all occurances of STATIC with 'static'. This was in
response to sparse warnings of the form "symbol 'XYZ' was not declared. Should
it be static?".Removed a function prototype (musycc_init_port) as adding the 'static'
declaration produced a new gcc warning. (musycc_init_port is only declared if
SBE_WAN256T3_ENABLE is set)Signed-off-by: Shaun Laing
Signed-off-by: Greg Kroah-Hartman
23 May, 2013
5 commits
-
This patch fixes the error 'return is not a function, parentheses are
not required' that is found by using checkpatch.piSigned-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the variable naming error foo * bar should be foo *bar.
Signed-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman -
This patch modifies the commenting style by placing comments above the
line of code commented upone.Signed-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the "Code indent should usually use tabs" and
"no spaces at front of line" warnings generated by checkpatch.pi.Signed-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman -
This patch corrects the error "Space prohibited between function name
and parenthesis", generated by using checkpatch.pi.Signed-off-by: Dulshani Gunawardhana
Signed-off-by: Greg Kroah-Hartman
22 May, 2013
1 commit
-
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
05 May, 2013
1 commit
-
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro
02 May, 2013
1 commit
-
Pull VFS updates from Al Viro,
Misc cleanups all over the place, mainly wrt /proc interfaces (switch
create_proc_entry to proc_create(), get rid of the deprecated
create_proc_read_entry() in favor of using proc_create_data() and
seq_file etc).7kloc removed.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (204 commits)
don't bother with deferred freeing of fdtables
proc: Move non-public stuff from linux/proc_fs.h to fs/proc/internal.h
proc: Make the PROC_I() and PDE() macros internal to procfs
proc: Supply a function to remove a proc entry by PDE
take cgroup_open() and cpuset_open() to fs/proc/base.c
ppc: Clean up scanlog
ppc: Clean up rtas_flash driver somewhat
hostap: proc: Use remove_proc_subtree()
drm: proc: Use remove_proc_subtree()
drm: proc: Use minor->index to label things, not PDE->name
drm: Constify drm_proc_list[]
zoran: Don't print proc_dir_entry data in debug
reiserfs: Don't access the proc_dir_entry in r_open(), r_start() r_show()
proc: Supply an accessor for getting the data from a PDE's parent
airo: Use remove_proc_subtree()
rtl8192u: Don't need to save device proc dir PDE
rtl8187se: Use a dir under /proc/net/r8180/
proc: Add proc_mkdir_data()
proc: Move some bits from linux/proc_fs.h to linux/{of.h,signal.h,tty.h}
proc: Move PDE_NET() to fs/proc/proc_net.c
...
30 Apr, 2013
1 commit
-
Don't use create_proc_read_entry() as that is deprecated, but rather use
proc_create_data() and seq_file instead.Signed-off-by: David Howells
cc: Bob Beers
cc: Greg Kroah-Hartman
cc: devel@driverdev.osuosl.org
Signed-off-by: Al Viro
09 Apr, 2013
1 commit
-
need set '\0' at the end. or cause issue.
it is called by c4_ioctl in drivers/staging/cxt1e1/linux.c
all things need be initialized, before provide them to user mode.
so we can not use strlcpy instead of strncpy.code style:
all contents of the file use 4 spaces instead of '\t',
so this patch has to follow, now.Signed-off-by: Chen Gang
Signed-off-by: Greg Kroah-Hartman
26 Jan, 2013
1 commit
-
If we don't restrict "cp.channum" to 3 digits then the sprintf() will
overflow. I've added a check and changed the sprintf() to snprintf().Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
22 Nov, 2012
9 commits
-
This commit sorts out a coding style issue related to spaces between
parentheses and function names.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit sorts out the incorrect placement of braces in the file.
Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit converts several instances of space-based indentation
to use tabs instead.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit fixes several incorrect placements of parantheses, as
identified by the checkpatch.pl tool.Signed-off-by: Johan Meiring
Acked-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman -
This commit fixes incorrect brace placement as reported by the
checkpatch.pl tool.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit converts several instances of space usage for
indentation to tabs.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit fixes incorrect brace placement.
Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit fixes instances of spaces being used for indentation
instead of tabs.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This commit fixes indentation issues that were reported by the
checkpatch.pl tool.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman
05 Sep, 2012
2 commits
-
remove the spaces and replace with tabs at the beginning of a line
and also remove space between function call and its open paranthesisSigned-off-by: Devendra Naga
Signed-off-by: Greg Kroah-Hartman -
The error codes the kernel functions return are -ve numbers, convert this
function to follow the other kernel functionsSigned-off-by: Devendra Naga
Signed-off-by: Greg Kroah-Hartman
10 Jan, 2012
1 commit
-
* 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (466 commits)
net/hyperv: Add support for jumbo frame up to 64KB
net/hyperv: Add NETVSP protocol version negotiation
net/hyperv: Remove unnecessary kmap_atomic in netvsc driver
staging/rtl8192e: Register against lib80211
staging/rtl8192e: Convert to lib80211_crypt_info
staging/rtl8192e: Convert to lib80211_crypt_data and lib80211_crypt_ops
staging/rtl8192e: Add lib80211.h to rtllib.h
staging/mei: add watchdog device registration wrappers
drm/omap: GEM, deal with cache
staging: vt6656: int.c, int.h: Change return of function to void
staging: usbip: removed unused definitions from header
staging: usbip: removed dead code from receive function
staging:iio: Drop {mark,unmark}_in_use callbacks
staging:iio: Drop buffer mark_param_change callback
staging:iio: Drop the unused buffer enable() and is_enabled() callbacks
staging:iio: Drop buffer busy flag
staging:iio: Make sure a device is only opened once at a time
staging:iio: Disallow modifying buffer size when buffer is enabled
staging:iio: Disallow changing scan elements in all buffered modes
staging:iio: Use iio_buffer_enabled instead of open coding it
...Fix up conflict in drivers/staging/iio/adc/ad799x_core.c (removal of
module_init due to using module_i2c_driver() helper, next to removal of
MODULE_ALIAS due to using MODULE_DEVICE_TABLE instead).
02 Dec, 2011
1 commit
-
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments.
Please let me know if I missed anything, and I will try to get it changed and resent.Signed-off-by: Justin P. Mattock
Acked-by: Randy Dunlap
Signed-off-by: Jiri Kosina
27 Nov, 2011
3 commits
-
Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman -
Remove *BSD, SunOS and userspace includes.
Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman
01 Nov, 2011
1 commit
-
This 2nd batch of implicit module.h users only appeared when we
removed the unnecessary module.h from include/linux/miscdevice.h
[The 1st batch is already present in Greg's staging tree.]Signed-off-by: Paul Gortmaker
26 Oct, 2011
1 commit
-
* 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1519 commits)
staging: et131x: Remove redundant check and return statement
staging: et131x: Mainly whitespace changes to appease checkpatch
staging: et131x: Remove last of the forward declarations
staging: et131x: Remove even more forward declarations
staging: et131x: Remove yet more forward declarations
staging: et131x: Remove more forward declarations
staging: et131x: Remove forward declaration of et131x_adapter_setup
staging: et131x: Remove some forward declarations
staging: et131x: Remove unused rx_ring.recv_packet_pool
staging: et131x: Remove call to find pci pm capability
staging: et131x: Remove redundant et131x_reset_recv() call
staging: et131x: Remove unused rx_ring.recv_buffer_pool
Staging: bcm: Fix three initialization errors in InterfaceDld.c
Staging: bcm: Fix coding style issues in InterfaceDld.c
staging:iio:dac: Add AD5360 driver
staging:iio:trigger:bfin-timer: Fix compile error
Staging: vt6655: add some range checks before memcpy()
Staging: vt6655: whitespace fixes to iotcl.c
Staging: vt6656: add some range checks before memcpy()
Staging: vt6656: whitespace cleanups in ioctl.c
...Fix up conflicts in:
- drivers/{Kconfig,Makefile}, drivers/staging/{Kconfig,Makefile}:
vg driver movement
- drivers/staging/brcm80211/brcmfmac/{dhd_linux.c,mac80211_if.c}:
driver removal vs now stale changes
- drivers/staging/rtl8192e/r8192E_core.c:
driver removal vs now stale changes
- drivers/staging/et131x/et131*:
driver consolidation into one file, tried to do fixups
28 Sep, 2011
1 commit
-
There are numerous broken references to Documentation files (in other
Documentation files, in comments, etc.). These broken references are
caused by typo's in the references, and by renames or removals of the
Documentation files. Some broken references are simply odd.Fix these broken references, sometimes by dropping the irrelevant text
they were part of.Signed-off-by: Paul Bolle
Signed-off-by: Jiri Kosina
17 Sep, 2011
1 commit
-
This flag is a NOOP and can be removed now.
Signed-off-by: Yong Zhang
Signed-off-by: Greg Kroah-Hartman
07 Sep, 2011
1 commit
-
Remove dead and unused code in sbecom_inline_linux.h. This also fixes a
build failure under Turkish locale, where include/config/modversions.h
is incorrectly named as modversIons.h (an unrelated kbuild bug) and the
driver tries to needlessly include the empty file.Reported-by: Serdar KÖYLÜ
Cc: Bob Beers
Signed-off-by: Michal Marek
Signed-off-by: Greg Kroah-Hartman
06 Jul, 2011
1 commit
-
It was pointed out by 'make versioncheck' that include of
linux/version.h is not needed in
drivers/staging/cxt1e1/sbecom_inline_linux.h
This patch removes it.Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
19 Feb, 2011
1 commit
-
Signed-off-by: Uwe Kleine-König
Signed-off-by: Greg Kroah-Hartman
22 Jan, 2011
1 commit
-
Use -E... instead of just E... in a few places where negative error
codes are expected by a functions callers. These were found by grepping
with coccinelle & then inspecting by hand to determine which were bugs.The staging/cxt1e1 driver appears to intentionally use positive E...
error codes in some places, and negative -E... error codes in others,
making it hard to know which is intended where - very likely I missed
some problems in that driver.Signed-off-by: Ralph Loader
Signed-off-by: Greg Kroah-Hartman
11 Dec, 2010
1 commit
-
The driver should not have such a generic global variable name.
Reported-by: Zimny Lech
Cc: Bob Beers
Signed-off-by: Greg Kroah-Hartman
20 Oct, 2010
1 commit
-
eliminate multiple definition of max_mtu by renaming
with cxt1e1_ prefix, similarly rename max_mruSigned-off-by: Bob Beers
Signed-off-by: Greg Kroah-Hartman
08 Oct, 2010
1 commit
-
Changed -objs to -y in Makefile.
Signed-off-by: Tracey Dent
Signed-off-by: Greg Kroah-Hartman