Lars-Peter Clausen [Mon, 19 Dec 2011 14:23:44 +0000 (15:23 +0100)]
staging:iio: Disallow modifying buffer size when buffer is enabled
The buffer buffer storage is only update when enabling the buffer. Changing the
buffer size while the buffer is enabled will confuse the buffer in regard to
its actual buffer size and can cause potential memory corruption. Thus it is
only safe to modify the buffer size when the buffer is disabled.
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Lars-Peter Clausen [Mon, 19 Dec 2011 14:23:43 +0000 (15:23 +0100)]
staging:iio: Disallow changing scan elements in all buffered modes
Currently we only disallow changing the scan elements, while the buffer is
enabled, in triggered buffer mode. This patch changes it to disallow it for all
buffered modes. Disabling or enabling scan elements while the buffer is enabled
will cause undefined behavior since the reader will not be able to tell samples
with the new and old scan element set apart and thus wont be able to extract
any meaningful data from the buffer.
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Lars-Peter Clausen [Mon, 19 Dec 2011 14:23:42 +0000 (15:23 +0100)]
staging:iio: Use iio_buffer_enabled instead of open coding it
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Marcos Paulo de Souza [Sun, 18 Dec 2011 21:12:15 +0000 (21:12 +0000)]
drivers: staging: vt6656: card.c: Remove useless return statement
This patch removes the return of the function CARDbSetMediaChannel, that
always return TRUE value.
Signed-off-by: Marcos Paulo de Souza <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Marcos Paulo de Souza [Sun, 18 Dec 2011 21:11:04 +0000 (21:11 +0000)]
drivers: staging: vt6656: Remove not used returned data of function
This function always return TRUE, and it is not used by the funtions
who calls it.
Signed-off-by: Marcos Paulo de Souza <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Lars-Peter Clausen [Mon, 19 Dec 2011 11:54:07 +0000 (12:54 +0100)]
staging:iio: Remove unused variable
Fixes the following warning:
drivers/staging/iio/industrialio-buffer.c: In function ‘iio_scan_mask_query’:
drivers/staging/iio/industrialio-buffer.c:620: warning: unused variable ‘mask’
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Marco Navarra [Thu, 22 Dec 2011 12:28:23 +0000 (13:28 +0100)]
Staging: android: fixed 80 characters warnings in lowmemorykiller.c
This patch fixes some 80 chatacters limit warnings in the lowmemorykiller.c file
Signed-off-by: Marco Navarra <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Marco Navarra [Thu, 22 Dec 2011 12:27:07 +0000 (13:27 +0100)]
Staging: android: fixed a space warning in binder.h
This patch fixes a simple tab-space warning in binder.h found by checkpatch tool
Signed-off-by: Marco Navarra <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rakib Mullick [Thu, 22 Dec 2011 18:46:45 +0000 (00:46 +0600)]
staging: gma500: Fix warning in power.c
gma_resume_display() wants 'struct pci_dev *' as it's parameter, so lets pass dev->pdev instead of dev. Fixes the following warning.
drivers/staging/gma500/power.c: In function ‘gma_power_begin’:
drivers/staging/gma500/power.c:269:3: warning: passing argument 1 of ‘gma_resume_display’ from incompatible pointer type
drivers/staging/gma500/power.c:99:13: note: expected ‘struct pci_dev *’ but argument is of type ‘struct drm_device *’
Signed-off-by: Rakib Mullick <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Kevin McKinney [Sat, 17 Dec 2011 16:53:37 +0000 (11:53 -0500)]
Staging: bcm: Fix an invalid dereference to a kmalloc in IOCTL_BCM_BULK_WRM
Variable IoBuffer.InputLength is chosen from userspace,
and can therefore be less than the intended size. In this
case,the memory from the kmalloc call is eventually cast
to a PBULKWRM_BUFFER. If the IoBuffer.InputLength does not
meet the minimum size of PBULKWRM_BUFFER, then we will get
a kernel Oops. To resolve this issue, this patch verifies
IoBuffer.InputLength meets the minimum size before invoking
the kmalloc call.
Signed-off-by: Kevin McKinney <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Kevin McKinney [Thu, 15 Dec 2011 03:44:33 +0000 (22:44 -0500)]
Staging: bcm: Fix information leak in IOCTL_BCM_GET_DRIVER_VERSION
This ioctl, IOCTL_BCM_GET_DRIVER_VERSION, is
responsible for sending the driver version
to userspace. However, the requested size stored
in IoBuffer.OutputLength may be incorrect.
Therefore, we altered the code to send the
exact length of the version, plus one for the
null character.
Signed-off-by: Kevin McKinney <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Mathieu Desnoyers [Wed, 21 Dec 2011 21:48:55 +0000 (16:48 -0500)]
staging: Remove LTTng from MAINTAINERS file
LTTng has been removed from the staging tree. Complete this removal by
removing the LTTng entry from the MAINTAINERS file.
Signed-off-by: Mathieu Desnoyers <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Peter Zijlstra <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
John Stultz [Wed, 21 Dec 2011 00:49:54 +0000 (16:49 -0800)]
ashmem: Whitespace cleanups
Fixes checkpatch warnings with the ashmem.c file
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Colin Cross [Wed, 21 Dec 2011 00:49:53 +0000 (16:49 -0800)]
ashmem: Fix arguments to ashmem_shrink
The arguments to shrink functions have changed, update
ashmem_shrink to match.
Signed-off-by: Colin Cross <[email protected]>
[jstultz: tweaked commit subject]
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Bjorn Bringert [Wed, 21 Dec 2011 00:49:52 +0000 (16:49 -0800)]
ashmem: Support lseek(2) in ashmem driver
Signed-off-by: Bjorn Bringert <[email protected]>
[jstultz: tweaked commit subject]
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Colin Cross [Wed, 21 Dec 2011 00:49:51 +0000 (16:49 -0800)]
ashmem: Update arguments of shrinker for 2.6.35
Signed-off-by: Colin Cross <[email protected]>
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Arve Hjønnevåg [Wed, 21 Dec 2011 00:49:50 +0000 (16:49 -0800)]
ashmem: Fix ASHMEM_SET_PROT_MASK.
Signed-off-by: Arve Hjønnevåg <[email protected]>
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Bjorn Bringert [Wed, 21 Dec 2011 00:49:49 +0000 (16:49 -0800)]
ashmem: Implement read(2) in ashmem driver
Signed-off-by: Bjorn Bringert <[email protected]>
[jstultz: Tweaked commit subject]
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Robert Love [Wed, 21 Dec 2011 00:49:48 +0000 (16:49 -0800)]
ashmem: Anonymous shared memory subsystem
The anonymous shared memory (ashmem) subsystem provides a
Unix-y,file-based shared memory interface to user-space. It
works like anonymous memory (e.g. mmapping fd=0) except if
you share the file descriptor via the usual means, you will
share the mapping. The shared memory can be accessed via both
mmap or file I/O. The backing store is a simple shmem file.
Additionally, ashmem introduces the concept of page pinning.
Pinned pages (the default) behave like any anonymous memory.
Unpinned pages are available to the kernel for eviction during
VM pressure. When repinning the pages, the return value
instructs user-space as to any eviction. In this manner,
user-space processes may implement caching and similar
resource management that efficiently integrates with kernel
memory management.
Signed-off-by: Robert Love <[email protected]>
ashmem: Don't install fault handler for private mmaps.
Ashmem is used to create named private heaps. If this heap is backed
by a tmpfs file it will allocate two pages for every page touched.
In 2.6.27, the extra page would later be freed, but 2.6.29 does not
scan anonymous pages when running without swap so the memory is not
freed while the file is referenced. This change changes the behavior
of private ashmem mmaps to match /dev/zero instead tmpfs.
Signed-off-by: Arve Hjønnevåg <[email protected]>
ashmem: Add common prefix to name reported in /proc/pid/maps
Signed-off-by: Arve Hjønnevåg <[email protected]>
ashmem: don't require a page aligned size
This makes ashmem more similar to shmem and mmap, by
not requiring the specified size to be page aligned,
instead rounding it internally as needed.
Signed-off-by: Marco Nelissen <[email protected]>
[jstultz: Improved commit subject and included patch description
from rlove. Also moved ashmem files to staging dir, and reworked
code to avoid touching mm/shmem.c while we're in staging.]
CC: Brian Swetland <[email protected]>
CC: Colin Cross <[email protected]>
CC: Arve Hjønnevåg <[email protected]>
CC: Dima Zavin <[email protected]>
CC: Robert Love <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rebecca Schultz [Thu, 24 Jul 2008 18:22:53 +0000 (11:22 -0700)]
staging: android: add pmem driver
This adds the Android pmem driver to the staging tree.
[At this point in time, it is dependent on the ARM platform, due to some
build issues that require it. - gregkh]
Signed-off-by: Rebecca Schultz <[email protected]>
Signed-off-by: Rebecca Schultz Zavin <[email protected]>
Signed-off-by: Dima Zavin <[email protected]>
Signed-off-by: Jamie Gennis <[email protected]>
Cc: Brian Swetland <[email protected]>
Cc: Arve Hjønnevåg <[email protected]>
Cc: Colin Cross <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Greg Kroah-Hartman [Fri, 16 Dec 2011 21:41:37 +0000 (13:41 -0800)]
staging: android: switch: minor code formatting cleanups
This fixes a number of minor space issues in the Android switch code.
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Mike Lockwood [Tue, 14 Oct 2008 16:50:16 +0000 (12:50 -0400)]
staging: android: switch: switch class and GPIO drivers.
This adds the Android switch driver code to the staging tree.
[Note, this code was located in drivers/switch/ in the Android kernel
releases, but as that api wasn't generally accepted, and the interface
is working toward changing to the newly proposed extcon inteface, this
driver was placed here until the extcon code is merged into mainline and
the Android userspace code is converted over to using it. - gregkh]
Signed-off-by: Arve Hjønnevåg <[email protected]>
Signed-off-by: Mike Lockwood <[email protected]>
Cc: MyungJoo Ham <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Donggeun Kim <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: MyungJoo Ham <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Morten CHRISTIANSEN <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Andy Gross [Fri, 16 Dec 2011 03:05:17 +0000 (21:05 -0600)]
staging: drm/omap: add debugfs support
Right now just a tiler_map file to dump a 2d map of which areas in
tiler/dmm have pinned buffers (or reservations). In the future more
could be added.
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rob Clark [Fri, 16 Dec 2011 17:34:34 +0000 (11:34 -0600)]
staging: drm/omap: avoid aquiring mutex in atomic context (v2)
omap_gem_roll() could be called by fbcon in atomic context or when
struct_mutext is held. Avoid aquiring mutex (deadlock), or calling
tiler_pin() (which itself is not safe for atomic context) in these
cases.
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rob Clark [Fri, 16 Dec 2011 03:05:15 +0000 (21:05 -0600)]
staging: drm/omap: add ywrap module param
Can be set at boot or module load time to prevent YWRAP scrolling from
being enabled.
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Sean MacLennan [Thu, 15 Dec 2011 01:18:44 +0000 (20:18 -0500)]
staging: fix build problem with staging/rtl8192e
The rtllib and rtllib_crypt drivers are both required for a fully
functional rtllib. Make sure both are always available by having
rtllib select rtllib_crypt.
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Sean MacLennan <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Jonathan Cameron [Wed, 14 Dec 2011 20:49:31 +0000 (20:49 +0000)]
staging:iio: iio_trigger contains defunct owner field. Remove it.
This field moved into the trigger_ops structure a while back, but somehow
never quite got cleared up. This clears the last few drivers to set it
(nothing uses it) and gets rid of it entirely.
Signed-off-by: Jonathan Cameron <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Jonathan Cameron [Wed, 14 Dec 2011 20:49:30 +0000 (20:49 +0000)]
staging:iio: Make sure all triggers have a trigger_ops for the owner field.
The core needs the owner field to prevent module removal whilst in use and
uses it without confirming that the trigger_ops structure actually exists.
Signed-off-by: Jonathan Cameron <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Michael Hennerich [Wed, 14 Dec 2011 19:25:13 +0000 (20:25 +0100)]
iio: gyro: ADXRS450: Add support for ADXRS453 Digital Gyroscope
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Michael Hennerich [Wed, 14 Dec 2011 19:25:12 +0000 (20:25 +0100)]
iio: gyro: ADXRS450: Add missing read support for calibbias attribute
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Michael Hennerich [Wed, 14 Dec 2011 19:25:11 +0000 (20:25 +0100)]
iio: gyro: ADXRS450: Add missing scale attributes
Add missing scale attributes.
Temperature data is presented as 10-bit, twos complement number.
Therefore use singed and shift accordingly.
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Florian Schmaus [Wed, 14 Dec 2011 13:23:24 +0000 (14:23 +0100)]
staging: comedi_fops.c whitespace fixes
Changed whitespaces in comedi/*.c to tabs where necessary. All .c
files within comedi now have no obvious style problems as reported by
checkpatch.pl
Signed-off-by: Florian Schmaus <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Jorgyano Vieira [Fri, 16 Dec 2011 10:32:30 +0000 (08:32 -0200)]
staging: crystalhd: bc_dts_defs.h: Fix up coding style
Fix comments style on structs and enums
Break long lines.
Signed-off-by: Jorgyano Vieira <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Marco Navarra [Thu, 15 Dec 2011 16:57:48 +0000 (17:57 +0100)]
Staging: android: fixed white spaces coding style issue in logger.c
This patch fixes some space-before-tabs warnings found by checkpatch tool on the staging android driver file logger.c
Signed-off-by: Marco Navarra <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:40 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in contec_pci_dio.c
This is a patch to the contec_pci_dio.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:39 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in das1800.c
This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printk to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:38 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in das1800.c
This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Included KERN_facility levels for printk.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:36 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in cb_pcidas64.c
This is a patch to the cb_pcidas64.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels> and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:35 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in cb_pcidas64.c
This is a patch to the cb_pcidas64.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels> and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:34 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in cb_pcidas.c
This is a patch to the cb_pcidas.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>..
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:33 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in cb_pcidas.c
This is a patch to the cb_pcidas.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_dbg()..
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:32 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in das1800.c
This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:31 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in das1800.c
This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Coverted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:30 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in daqboard2000.c
This is a patch to the daqboard2000.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:29 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in das1800.c
This is a patch to the das1800.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:26 +0000 (10:49 +0530)]
Staging: comedi: fix brace coding style issue in ni_at_a2150.c
This is a patch to the ni_at_a2150.c file that fixes up a brace
warning found by the checkpatch.pl tool.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:25 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in jr3_pci.c
This is a patch to the jr3_pci.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels> and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:24 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in jr3_pci.c
This is a patch to the jr3_pci.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:23 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in daqboard2000.c
This is a patch to the daqboard2000.c file that fixes up a printk
warning found by the checkpatch.pl tool.
converted printks to dev_printk and Removed unnecessary
printk statements.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:21 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in daqboard2000.c
This is a patch to the daqboard2000.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:20 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in pcmuio.c
This is a patch to the pcmuio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_dbg().
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:19 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in pcmuio.c
This is a patch to the pcmuio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_functions.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:18 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in pcmuio.c
This is a patch to the pcmuio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_functions.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:17 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:16 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Converted printks to dev_functions.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:15 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:14 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Added KERN_facility levels.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 05:19:13 +0000 (10:49 +0530)]
Staging: comedi: fix printk issue in dt3000.c
This is a patch to the dt3000.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Converted printks to dev_<levels>.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Tomas Winkler [Tue, 13 Dec 2011 21:39:34 +0000 (23:39 +0200)]
staging/mei: code style - cleanup blanks
1. Remove redundant blanks
2. Straighten code lines that don't go over 80 characters
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Tomas Winkler [Tue, 13 Dec 2011 21:39:33 +0000 (23:39 +0200)]
staging/mei: remove outdated comment about setting iamthif_mtu
iamthif_mtu doesn't have default value anymore it
is always supplied by the ME firmware
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Devendra Naga [Tue, 13 Dec 2011 06:49:29 +0000 (01:49 -0500)]
staging: remove version.h includes in rtl8192e
Signed-off-by: Devendra Naga <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Ravishankar karkala Mallikarjunayya [Mon, 12 Dec 2011 07:22:19 +0000 (12:52 +0530)]
Staging: comedi: fix printk issue in jr3_pci.c
This is a patch to the jr3_pci.c file that fixes up a
printk warning found by the checkpatch.pl tool.
Added KERN_facility levels for printks.
Signed-off-by: Ravishankar Karkala Mallikarjunayya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Devendra Naga [Mon, 12 Dec 2011 07:52:13 +0000 (02:52 -0500)]
Staging: remove version.h includes in drivers/staging/rts5139
This was reported by "make versioncheck"
Signed-off-by: Devendra Naga <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Lars-Peter Clausen [Mon, 12 Dec 2011 08:33:14 +0000 (09:33 +0100)]
staging:iio:kfifo_buf: Fix potential buffer overflow in iio_read_first_n_kfifo
n is the number of bytes to read, not the number of samples. So if there is
enough data available we will write to the userspace buffer beyond its bounds.
Fix this by copying n bytes maximum. Also round n down to the next multiple of
the sample size, so we will only read complete samples. If the buffer is too
small to hold at least one sample return -EINVAL.
Also update the documentation of read_first_n to reflect the fact that 'n' is
supposed to be in bytes and not in samples.
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Johannes Tenschert [Fri, 9 Dec 2011 19:38:09 +0000 (20:38 +0100)]
staging: bcm: HandleControlPacket.c: breaking of long lines
Signed-off-by: Johannes Tenschert <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Johannes Tenschert [Fri, 9 Dec 2011 19:38:08 +0000 (20:38 +0100)]
staging: bcm: HandleControlPacket.c: fix parens/braces
Signed-off-by: Johannes Tenschert <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Johannes Tenschert [Fri, 9 Dec 2011 19:38:07 +0000 (20:38 +0100)]
staging: bcm: HandleControlPacket.c: fix comments
Signed-off-by: Johannes Tenschert <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Johannes Tenschert [Fri, 9 Dec 2011 19:38:06 +0000 (20:38 +0100)]
staging: bcm: HandleControlPacket.c: fix indentation
Signed-off-by: Johannes Tenschert <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Johannes Tenschert [Fri, 9 Dec 2011 19:38:05 +0000 (20:38 +0100)]
staging: bcm: HandleControlPacket.c: fix whitespaces
Signed-off-by: Johannes Tenschert <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rob Clark [Sat, 10 Dec 2011 05:26:08 +0000 (23:26 -0600)]
staging: drm/omap: DMM based hardware scrolling console
Add support for YWRAP scrolling by shuffling pages around in DMM
instead of sw blits.
Note that fbcon only utilizes this mode if the y resolution is
divided evenly by the font height. So, for example, a 1920x1080
display using a 16 pixel tall font will not utilize this, but a
1280x1024 display would.
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rob Clark [Sat, 10 Dec 2011 05:26:07 +0000 (23:26 -0600)]
staging: drm/omap: crtc/encoder/fb destroy cleanups
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Rob Clark [Sat, 10 Dec 2011 05:26:06 +0000 (23:26 -0600)]
staging: drm/omap: allocation fail check
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Martyn Welch [Mon, 12 Dec 2011 17:04:06 +0000 (17:04 +0000)]
Staging: VME: PIO2: Add GPIOLIB dependancy
The PIO2 driver errors when GPIOLIB, on which it depends, is not enabled.
Add dependancy when selecting the PIO2.
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Martyn Welch <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Joe Perches [Fri, 9 Dec 2011 08:12:49 +0000 (00:12 -0800)]
MAINTAINERS: staging: tty: Update F: patterns
commit
51c9d654c2d ("Staging: delete tty drivers")
removed the files, delete the sections too.
CC: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Joe Perches [Fri, 9 Dec 2011 08:12:50 +0000 (00:12 -0800)]
MAINTAINERS: staging: westbridge: Delete section
commit
78f23926dff9 ("Staging: delete westbridge code")
deleted the files, delete the section.
CC: David Cross <[email protected]>
CC: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Joe Perches [Fri, 9 Dec 2011 08:12:52 +0000 (00:12 -0800)]
MAINTAINERS: brcm80211: Update F: pattern
commit
fc2d6e573be
("staging: brcm80211: remove brcm80211 driver from the staging tree")
moved the files, update the F: pattern.
CC: John W. Linville <[email protected]>
CC: Arend van Spriel <[email protected]>
CC: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Joe Perches [Fri, 9 Dec 2011 08:12:53 +0000 (00:12 -0800)]
MAINTAINERS: Delete generic_serial section
commit
bb2a97e9ccd ("Staging: delete generic_serial drivers")
removed the files, delete the section.
CC: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Aaro Koskinen [Fri, 9 Dec 2011 18:22:04 +0000 (20:22 +0200)]
MAINTAINERS: update xgifb maintainer's e-mail address
All patches sent to the maintainer address bounce:
Diagnostic-Code: smtp; 550 5.1.1 <
[email protected]>: Recipient address
rejected: User unknown in virtual mailbox table
The address found in drivers/staging/xgifb/TODO seems to work better.
Signed-off-by: Aaro Koskinen <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Markus Grabner [Sat, 10 Dec 2011 01:12:32 +0000 (02:12 +0100)]
staging: line6: fixed ALSA/PCM interaction
The PCM subsystem in the Line6 driver is mainly used for PCM playback and
capture by ALSA, but also has other tasks, most notably providing a
low-latency software monitor for devices which don't support hardware
monitoring (e.g., the TonePort series). This patch makes ALSA "play nicely"
with the other components, i.e., prevents it from resetting the isochronous
USB transfer while other PCM tasks (software monitoring) are running.
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Stefan Hajnoczi [Sat, 10 Dec 2011 01:12:31 +0000 (02:12 +0100)]
staging: line6: wait for urbs in snd_line6_prepare()
The .trigger() pcm callbacks are not allowed to block and cannot wait
until urbs have completed. We need to ensure that stopping, preparing,
and then restarting a stream always works.
Currently the driver will sometimes return -EBUSY when restarting the
stream because urbs have not completed yet. This can be triggered by
jackd from userspace.
The solution is to wait on urbs in the .prepare() pcm callback since
blocking is allowed in that callback. This guarantees that all urbs are
quiesced and ready to be submitted when the start trigger callback is
invoked.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Stefan Hajnoczi [Sat, 10 Dec 2011 01:12:30 +0000 (02:12 +0100)]
staging: line6: eliminate useless NULL checks
The line6 driver checks struct field addresses for NULL where it does
not make sense to do so. The struct has already been checked for NULL
and there is no value in checking the first field's address too.
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Stefan Hajnoczi [Sat, 10 Dec 2011 01:12:29 +0000 (02:12 +0100)]
staging: line6: eliminate useless index_out variable
Playback urbs use the index_out counter to decide which part of the
playback buffer to use. Since the urb already has a unique index in
range [0, LINE6_ISO_BUFFERS) there is no need to keep a separate
counter.
Use the urb index instead. This also eliminates the possibility of two
urbs using the same playback buffer space if they ever complete
out-of-order for some reason.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Stefan Hajnoczi [Sat, 10 Dec 2011 01:12:28 +0000 (02:12 +0100)]
staging: line6: fix playback urb transfer buffer calculation
The playback urb transfer buffer calculation does not factor in
LINE6_ISO_PACKETS. Buffer memory is organized like this in the driver:
Buffer 0 Buffer 1 ...
[Packet 0, Packet 1, ...][Packet 0, Packet 1, ...][Packet 0, ...]
However, we're lucky that LINE6_ISO_PACKETS is currently defined as 1 so
this patch does not change any behavior. It's still worth including
this fix in case the LINE6_ISO_PACKETS value is changed in the future.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Stefan Hajnoczi [Sat, 10 Dec 2011 01:12:27 +0000 (02:12 +0100)]
staging: line6: fix memory leak in .hw_params()
The .hw_params() pcm callback can be invoked multiple times in a row.
Ensure that the URB data buffer is only allocated once.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Markus Grabner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Greg Kroah-Hartman [Sat, 10 Dec 2011 03:01:27 +0000 (19:01 -0800)]
Merge 3.2-rc5 into staging-next
This resolves the conflict in the
drivers/staging/iio/industrialio-core.c file due to two different
changes made to resolve the same problem.
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Haiyang Zhang [Fri, 2 Dec 2011 19:56:25 +0000 (11:56 -0800)]
net/hyperv: Fix the stop/wake queue mechanism
The ring buffer is only used to pass meta data for outbound packets. The
actual payload is accessed by DMA from the host. So the stop/wake queue
mechanism based on counting and comparing number of pages sent v.s. number
of pages in the ring buffer is wrong. Also, there is a race condition in
the stop/wake queue calls, which can stop xmit queue forever.
The new stop/wake queue mechanism is based on the actual bytes used by
outbound packets in the ring buffer. The check for number of outstanding
sends after stop queue prevents the race condition that can cause wake
queue happening earlier than stop queue.
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Reported-by: Long Li <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Linus Torvalds [Fri, 9 Dec 2011 23:09:32 +0000 (15:09 -0800)]
Linux 3.2-rc5
Linus Torvalds [Fri, 9 Dec 2011 22:45:44 +0000 (14:45 -0800)]
Merge git://git.samba.org/sfrench/cifs-2.6
* git://git.samba.org/sfrench/cifs-2.6:
cifs: check for NULL last_entry before calling cifs_save_resume_key
cifs: attempt to freeze while looping on a receive attempt
cifs: Fix sparse warning when calling cifs_strtoUCS
CIFS: Add descriptions to the brlock cache functions
Linus Torvalds [Fri, 9 Dec 2011 22:45:12 +0000 (14:45 -0800)]
Merge branch 'x86-urgent-for-linus' of git://git./linux/kernel/git/tip/tip
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, efi: Calling __pa() with an ioremap()ed address is invalid
x86, hpet: Immediately disable HPET timer 1 if rtc irq is masked
x86/intel_mid: Kconfig select fix
x86/intel_mid: Fix the Kconfig for MID selection
Linus Torvalds [Fri, 9 Dec 2011 22:41:50 +0000 (14:41 -0800)]
Merge branch 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6
* 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6:
spi/gpio: fix section mismatch warning
spi/fsl-espi: disable CONFIG_SPI_FSL_ESPI=m build
spi/nuc900: Include linux/module.h
spi/ath79: fix compile error due to missing include
Lars-Peter Clausen [Fri, 9 Dec 2011 16:12:42 +0000 (17:12 +0100)]
staging:iio:dac:ad5791: Add id entry for the ad5790
The ad5790 has a binary compatible interface to ad5791, so we just have to add
an entry to the drivers device table to add support for it.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Linus Torvalds [Fri, 9 Dec 2011 16:18:08 +0000 (08:18 -0800)]
Merge branch 'for-linus' of git://neil.brown.name/md
* 'for-linus' of git://neil.brown.name/md:
md: raid5 crash during degradation
md/raid5: never wait for bad-block acks on failed device.
md: ensure new badblocks are handled promptly.
md: bad blocks shouldn't cause a Blocked status on a Faulty device.
md: take a reference to mddev during sysfs access.
md: refine interpretation of "hold_active == UNTIL_IOCTL".
md/lock: ensure updates to page_attrs are properly locked.
Linus Torvalds [Fri, 9 Dec 2011 16:08:57 +0000 (08:08 -0800)]
Merge git://git./linux/kernel/git/cmetcalf/linux-tile
* git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
arch/tile: use new generic {enable,disable}_percpu_irq() routines
drivers/net/ethernet/tile: use skb_frag_page() API
asm-generic/unistd.h: support new process_vm_{readv,write} syscalls
arch/tile: fix double-free bug in homecache_free_pages()
arch/tile: add a few #includes and an EXPORT to catch up with kernel changes.
Linus Torvalds [Fri, 9 Dec 2011 16:08:14 +0000 (08:08 -0800)]
Merge branch 'iommu/fixes' of git://git./linux/kernel/git/joro/iommu
* 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
MAINTAINERS: Update amd-iommu F: patterns
iommu/amd: Fix typo in kernel-parameters.txt
iommu/msm: Fix compile error in mach-msm/devices-iommu.c
Fix comparison using wrong pointer variable in dma debug code
Linus Torvalds [Fri, 9 Dec 2011 16:07:42 +0000 (08:07 -0800)]
Merge branch 'for-linus' of git://git./linux/kernel/git/tiwai/sound
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: hda/realtek - Fix lost speaker volume controls
ALSA: hda/realtek - Create "Bass Speaker" for two speaker pins
ALSA: hda/realtek - Don't create extra controls with channel suffix
ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
ALSA: hda - Fix GPIO LED setup for IDT 92HD75 codecs
ASoC: Provide a more complete DMA driver stub
ASoC: Remove references to corgi and spitz from machine driver document
ASoC: Make SND_SOC_MX27VIS_AIC32X4 depend on I2C
ASoC: Fix dependency for SND_SOC_RAUMFELD and SND_PXA2XX_SOC_HX4700
ASoC: uda1380: Return proper error in uda1380_modinit failure path
ASoC: kirkwood: Make SND_KIRKWOOD_SOC_OPENRD and SND_KIRKWOOD_SOC_T5325 depend on I2C
ASoC: Mark WM8994 ADC muxes as virtual
ALSA: hda/realtek - Fix Oops in alc_mux_select()
ALSA: sis7019 - give slow codecs more time to reset
Linus Torvalds [Fri, 9 Dec 2011 16:07:24 +0000 (08:07 -0800)]
Merge branch 'perf-urgent-for-linus' of git://git./linux/kernel/git/tip/tip
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf: Do no try to schedule task events if there are none
lockdep, kmemcheck: Annotate ->lock in lockdep_init_map()
perf header: Use event_name() to get an event name
perf stat: Failure with "Operation not supported"
Mandeep Singh Baines [Thu, 8 Dec 2011 22:34:44 +0000 (14:34 -0800)]
sys_getppid: add missing rcu_dereference
In order to safely dereference current->real_parent inside an
rcu_read_lock, we need an rcu_dereference.
Signed-off-by: Mandeep Singh Baines <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Alexandre Bounine [Thu, 8 Dec 2011 22:34:42 +0000 (14:34 -0800)]
rapidio/tsi721: modify PCIe capability settings
Modify initialization of PCIe capability registers in Tsi721 mport driver:
- change Completion Timeout value to avoid unexpected data transfer
aborts during intensive traffic.
- replace hardcoded offset of PCIe capability block by making it use the
common function.
This patch is applicable to kernel versions starting from 3.2-rc1.
Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Alexandre Bounine [Thu, 8 Dec 2011 22:34:36 +0000 (14:34 -0800)]
rapidio/tsi721: fix mailbox resource reporting
Bug fix for Tsi721 RapidIO mport driver: Tsi721 supports four RapidIO
mailboxes (MBOX0 - MBOX3) as defined by RapidIO specification. Mailbox
resources has to be properly reported to allow use of all available
mailboxes (initial version reports only MBOX0).
This patch is applicable to kernel versions staring from 3.2-rc1.
Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Alexandre Bounine [Thu, 8 Dec 2011 22:34:35 +0000 (14:34 -0800)]
rapidio/tsi721: switch to dma_zalloc_coherent
Replace the pair dma_alloc_coherent()+memset() with the new
dma_zalloc_coherent() added by Andrew Morton for kernel version 3.2
Signed-off-by: Alexandre Bounine <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>