27 Nov, 2011
1 commit
-
Removed use of obsolete function "strict_strtoul". Replaced with "kstrtoul"
as suggested by checkpatch.plSigned-off-by: Ken O'Brien
Signed-off-by: Greg Kroah-Hartman
08 Dec, 2010
1 commit
-
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly. It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.Signed-off-by: Greg Kroah-Hartman
19 Nov, 2010
1 commit
-
They should be writable by root, not readable.
Doh, stupid me with the wrong flags.Reported-by: Jonathan Cameron
Cc: Jakub Schmidtke
Cc: stable
Signed-off-by: Greg Kroah-Hartman
17 Nov, 2010
1 commit
-
They should not be writable by any user
Reported-by: Linus Torvalds
Cc: Jakub Schmidtke
Cc: stable
Signed-off-by: Greg Kroah-Hartman
10 Nov, 2010
1 commit
-
This is a patch to the asus_oled.c file that fixes up brace and enum
warning found by the checkpatch.pl toolSigned-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman
18 Oct, 2010
1 commit
-
The patch below updates broken web addresses in the kernel
Signed-off-by: Justin P. Mattock
Cc: Maciej W. Rozycki
Cc: Geert Uytterhoeven
Cc: Finn Thain
Cc: Randy Dunlap
Cc: Matt Turner
Cc: Dimitry Torokhov
Cc: Mike Frysinger
Acked-by: Ben Pfaff
Acked-by: Hans J. Koch
Reviewed-by: Finn Thain
Signed-off-by: Jiri Kosina
12 May, 2010
1 commit
-
drivers/staging/asus_oled/asus_oled.c:774: ERROR: code indent should use tabs where possible
Signed-off-by: Andrea Gelmini
Signed-off-by: Greg Kroah-Hartman
08 Mar, 2010
2 commits
-
Convert some drivers who export a single string as class attribute
to the new class_attr_string functions. This removes redundant
code all over.Signed-off-by: Andi Kleen
Signed-off-by: Greg Kroah-Hartman -
Passing the attribute to the low level IO functions allows all kinds
of cleanups, by sharing low level IO code without requiring
an own function for every piece of data.Also drivers can extend the attributes with own data fields
and use that in the low level function.This makes the class attributes the same as sysdev_class attributes
and plain attributes.This will allow further cleanups in drivers.
Full tree sweep converting all users.
Signed-off-by: Andi Kleen
Signed-off-by: Greg Kroah-Hartman
04 Mar, 2010
3 commits
-
The id_table field of the struct usb_device_id is constant in
so it is worth to make the initialization data also constant.The semantic match that finds this kind of pattern is as follows:
(http://coccinelle.lip6.fr/)//
@r@
disable decl_init,const_decl_init;
identifier I1, I2, x;
@@
struct I1 {
...
const struct I2 *x;
...
};
@s@
identifier r.I1, y;
identifier r.x, E;
@@
struct I1 y = {
.x = E,
};
@c@
identifier r.I2;
identifier s.E;
@@
const struct I2 E[] = ... ;
@depends on !c@
identifier r.I2;
identifier s.E;
@@
+ const
struct I2 E[] = ...;
//Signed-off-by: Németh Márton
Cc: Julia Lawall
Cc: cocci@diku.dk
Signed-off-by: Greg Kroah-Hartman -
This patch adds a NULL test to check wether kmalloc was successful or
not.Signed-off-by: Peter Huewe
Signed-off-by: Greg Kroah-Hartman -
This almost trivial patch replaces the hardcoded values for the vendor and
device ids with defines, as they are used in drivers/hid/hid-ids.hFor me this seems to be more consistent, however as drivers/hid/hid-ids.h
is not within the default include directory I had to redefine the defines here
(maybe move the hid-ids.h to include/linux ?)Signed-off-by: Peter Huewe
Signed-off-by: Greg Kroah-Hartman
21 Jan, 2010
1 commit
-
After updating to 2.6.32 kernel, I started experiencing Oopses caused by
the asus_oled module. After quick investigation, I wrapped this simple
patch which fixes an Oops in by asus_oled module on 2.6.32.2 kernel,
caused by incorrect usage of strict_strtoul function call within
set_enabled and set_disabled functions. This can be triggered by simple
running the userspace client for asus_old (e.g., 'asusoled -e' or
'asusoled -d').Signed-off-by: Eugeni Dodonov
Cc: stable
Signed-off-by: Greg Kroah-Hartman
16 Sep, 2009
1 commit
-
Signed-off-by: Kevin A. Granade
Cc: Belisko Marek
Signed-off-by: Greg Kroah-Hartman
20 Jun, 2009
1 commit
-
This fixes some build warnings in the asus_oled driver.
Signed-off-by: Greg Kroah-Hartman
04 Apr, 2009
5 commits
-
This fixes some errors reported by checkpatch.pl
Signed-off-by: Andre Haupt
Cc: Jakub Schmidtke
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Andre Haupt
Cc: Jakub Schmidtke
Signed-off-by: Greg Kroah-Hartman -
fix the following error reported by checkpatch.pl
ERROR: trailing statements should be on next lineSigned-off-by: Andre Haupt
Cc: Jakub Schmidtke
Signed-off-by: Greg Kroah-Hartman -
fix the following error reported by checkpatch.pl
ERROR: do not initialise statics to 0 or NULLSigned-off-by: Andre Haupt
Cc: Jakub Schmidtke
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Andre Haupt
Cc: Jakub Schmidtke
Signed-off-by: Greg Kroah-Hartman
07 Jan, 2009
2 commits
-
asus_oled depends on the CONFIG_USB_SUPPORT, I have only build tested
the patch.Signed-off-by: Kamalesh Babulal
Signed-off-by: Greg Kroah-Hartman -
Driver for the OLED tiny display on some Asus laptops.
From: Jakub Schmidtke
Cc: Cyrill Gorcunov
Signed-off-by: Greg Kroah-Hartman