- 08 9月, 2010 9 次提交
-
-
由 Al Cho 提交于
This driver is for the ENE card reader that can be found in many different laptops. It was written by ENE, but cleaned up to work properly in the kernel tree by Novell. Signed-off-by: NAl Cho <acho@novell.com> Cc: <yiyingc@ene.com.tw> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
This patch fixes a compile warning removing an unnecessary log message. I redo the patch against today linux-next. Thanks a lot Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
This patch fixes a compilation warning in today linux-next removing some compilation conditionals. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vipin Mehta 提交于
staging: ath6kl: Fixing a compilation error introduced by commit ec53d612. Signed-off-by: NVipin Mehta <vmehta@atheros.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andy Shevchenko 提交于
There are already implemented methods such hex_to_bin() or isxdigit() in the kernel. Let's use them. Signed-off-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Acked-by: NVipin Mehta <Vipin.Mehta@Atheros.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andy Shevchenko 提交于
Signed-off-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
Jiri pointed out that the previous compiler warning fix was incorrect as the compiler was properly saying that the variable was not being set. This was due to a #define commenting out all of the logic in the function. This patch reverts Javier's previous one, and properly fixes the issue by making the function actually doing something. Reported-by: NJiri Slaby <jirislaby@gmail.com> Cc: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Prashant P. Shah 提交于
This is a patch to the wwrap.c file that removes the initialization of global variable 'smp_kevent_Lock' to 0 Signed-off-by: NPrashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Thomas Gleixner 提交于
init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 07 9月, 2010 2 次提交
-
-
由 Javier Martinez Canillas 提交于
Current patch solves compilation warnings in staging/xgifb for using possibly uninitialized variables. Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Prashant P. Shah 提交于
This is a patch to the XGI_main_26 file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: NPrashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 06 9月, 2010 20 次提交
-
-
由 Greg Kroah-Hartman 提交于
This fixes a single brace issue in the rt_linux.c file. Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Fix warnings detected by tools Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Fix fb_defio bug in udlfb for multiple framebuffers Previously when using fb_defio with multiple DisplayLink attached displays udlfb incorrectly used a shared datastructure where it needed to have one per fb_info struct. This was completely broken and caused all kinds of problems, including rendering to one framebuffer affecting others. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Michael Prokop 提交于
The Kconfig description for CONFIG_SBE_PMCC4_NCOMM says: If you have purchased this optional support you must say Y or M here to allow the driver to operate with the NCOMM product. This is not correct as it can not be built as module, this patch updates the description accordingly. Signed-off-by: NMichael Prokop <mika@grml.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julia Lawall 提交于
In each case, the function has an unsigned return type, but returns a negative constant to indicate an error condition. For move_block_from_dma, there is only one call and the return value is dropped, so it need not be unsigned. For labpc_eeprom_write, there is only one call and the result is stored in a signed variable, so again the unsigned return type is not necessary. A sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @exists@ identifier f; constant C; @@ unsigned f(...) { <+... * return -C; ...+> } // </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
kmalloc() may fail, check for it. Allocated memory is not freed. Use IS_ERR() instead of strict checking. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Cc: David Cross <david.cross@cypress.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
Function get_user may fail. Check for it. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
Function put_user may fail. Check for it. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
Function get_user may fail. Check for it. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
Functions alloc_ieee80211 and register_netdev may fail. Check for it. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Vasiliy Kulikov 提交于
Function kzalloc may fail. Check for it. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Add module options for console and fb_defio Convert fb_defio on/off switch to module option and add console option. >From the command line, pass options to modprobe modprobe udlfb defio=1 console=1 Or for permanent option, create file like /etc/modprobe.d/options with text options udlfb defio=1 console=1 Accepted options: fb_defio Make use of the fb_defio (CONFIG_FB_DEFERRED_IO) kernel module to track changed areas of the framebuffer by page faults. Standard fbdev applications that use mmap but that do not report damage, may be able to work with this enabled. Disabled by default because of overhead and other issues. console Allow fbcon to attach to udlfb provided framebuffers. This is disabled by default because fbcon will aggressively consume the first framebuffer it finds, which isn't usually what the user wants in the case of USB displays. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Support writing default/backup edid via /sys/class/graphics/fb?/edid Writing a backup edid blob to the 'edid' file will cause udlfb to attempt to re-read the edid from hardware. If we still don't have a good edid, it will use the backup edid instead. The intent is to 1) enable user-supplied edid 2) enable udev rules to backup the last known good edid for a device, and then provide that edid as a backup for all future starts Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Fix big endian rendering bug (affects PowerPC) Thanks to Christian Melki at Ericsson for finding and suggesting patch. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Enhance EDID and mode table handling * Adds support for lower-end DL chips on higher-end monitors * Adds support for using fbdev standard EDID parsing and handling * Adds support for more dynamic reallocation of framebuffer, based on new EDID Queries EDID from hardware with several retries then queries DisplayLink chip for max pixel area via vendor descriptor. Uses existing fbdev mode handling service funcations to build mode list of common modes between adapter and monitor. This enables lower-end chips (e.g. DL-125) to successfully pick a compatible mode on higher end monitors (e.g. whose default mode is over 1280x1024). Reallocate framebuffer if necessary in response to new max mode. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Revamp reference handling and synchronization for unload/shutdown Udlfb is a "virtual" framebuffer device that really exists on two separate stacks: at the bottom of the framebuffer interface, and on top of USB. During unload, there's no guarantee which one will tear down first. So reference counting must be solid to handle all possibilities and not access anything once its gone. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Remove metrics_misc sysfs attribute Previously returned multiple values, which goes against sysfs guidelines. Had been used for debugging to figure out which of the multiple fbdev interfaces an app was using, but log file messages are sufficient. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Add ability to power off monitor with standard blanking interface Used by X servers and others to manage power of dislpay Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Restore fbdev character read and write support Enables access to the framebuffer from simple reads and writes to /dev/fb0 (or fb1, ...). Low performance, because of extra copy and because udlfb must scan every pixel for changes. But very useful for testing and simple image display, etc. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Bernie Thompson 提交于
Add documentation for the udlfb framebuffer driver for DisplayLink devices. Signed-off-by: NBernie Thompson <bernie@plugable.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 05 9月, 2010 9 次提交
-
-
由 Joe Perches 提交于
Signed-off-by: NJoe Perches <joe@perches.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Javier Martinez Canillas 提交于
Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Sven Eckelmann 提交于
We must reduce our own mtu when we reduce the mtu of any device we use to transfer our packets. Otherwise we may accept to large packets which gets dropped by the actual device. Reported-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Sven Eckelmann 提交于
Information about dropped packets are usually only interesting for debugging purposes and otherwise open the possibility to flood the logs of the target machine with useless information. pr_debug will not output those information on a nodebug kernel. Reported-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Sven Eckelmann 提交于
batman_if has the name of the net_dev as extra string in its own structure, but also holds a reference to the actual net_device structure which always has the current name of the device. This makes it unneccessary and also more complex because we must update the name in situations when we receive a NETDEV_CHANGENAME event. Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marek Lindner 提交于
This patch removes all remaining global variables and includes the necessary bits into the bat_priv structure. It is the last remaining piece to allow multiple concurrent mesh clouds on the same device. A few global variables have been rendered obsolete during the process and have been removed entirely. Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de> [sven.eckelmann@gmx.de: Rework on top of current version] Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marek Lindner 提交于
This patch replaces the static bat0 interface with a dynamic/abstracted approach. It is now possible to create multiple batX interfaces by assigning hard interfaces to them. Each batX interface acts as an independent mesh network. A soft interface is removed once no hard interface references it any longer. Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de> [sven.eckelmann@gmx.de: Rework on top of current version] Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Sven Eckelmann 提交于
We must ensure that all interesting data is linear and not paged out to access all information in a header or a full batman-adv related packet. Otherwise we may drop packets which have non-linear headers but which hold valid data. This doesn't affect non-linear skbs which have all headers in a linear head unless we must process the whole packet like in ogms or vis packets. Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Sven Eckelmann 提交于
We can use skb_cow instead of a handwritten function to test and create a writable skb buffer. This also allows us to pre-allocate headroom to be able to send the data without re-allocating the buffer again to add the ethernet header. Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-