From: Santosh Nayak
There is a missing "up_write()" here. Semaphore should be released
before returning error value.
Signed-off-by: Santosh Nayak
---
Destination tree "linux-next"
drivers/media/dvb/dvb-core/dvbdev.c |1 +
1 files changed, 1 insertions(+), 0 deleti
From: Santosh Nayak
In 'dib0700_i2c_xfer_new()' and 'dib0700_i2c_xfer_legacy()'
we are taking two locks:
1. i2c_mutex
2. usb_mutex
If attempt to take 'usb_mutex' lock fails then the previously taken
lock 'i2c_mutex' should b
From: Santosh Nayak
Use uninterruptable sleep lock 'mutex_lock()' in place of
mutex_lock_interruptible() because there is no userspace
for s2250_probe().
Return -ENOMEM if kzalloc() fails to allocate and initialize.
Signed-off-by: Santosh Nayak
---
drivers/staging/media/go
From: Santosh Nayak
In s2250_probe(), If locking attempt is interrupted by a signal then
it should return -EINTR after unregistering audio device and making free
the allocated memory.
At present, if locking is interrupted by signal it will display message
"initialized successfully"
From: Santosh Nayak
If locking attempt was interrupted by a signal then we should
return -EINTR so that caller can take appropriate action.
We have 3 callers: gigaset_probe(), gigaset_tty_open() and
gigaset_probe(). Each caller tries to free allocated memory
if lock fails. This is possible if
From: Santosh Nayak
In 'dib0700_i2c_xfer_new()' and 'dib0700_i2c_xfer_legacy()'
we are taking two locks:
1. i2c_mutex
2. usb_mutex
If attempt to take 'usb_mutex' lock fails then the previously taken
lock 'i2c_mutex' should
From: Santosh Nayak
In CDRXD(), Negative number is assigned to unsigned variable
'state->noise_cal.tdCal2.
Members of 'SNoiseCal' should be 'signed short'.
Signed-off-by: Santosh Nayak
---
drivers/media/dvb/frontends/drxd_hard.c |6 +++---
1 files changed,
From: Santosh Nayak
Use the macro DMA_BIT_MASK instead of the constant 0x.
Signed-off-by: Santosh Nayak
---
drivers/media/video/cx18/cx18-driver.c |4 ++--
drivers/media/video/ivtv/ivtv-driver.c |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers