kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/tty/ipwireless/hardware.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/tty/ipwireless/hardware.c
b/drivers/tty/ipwireless/hardware.c
index 97a511f..2c14842 100644
--- a/drivers/tty
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/mtd/maps/ck804xrom.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c
index 586a1c7..0455166 100644
--- a/drivers/mtd/maps/ck804xrom.c
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/media/usb/dvb-usb/cinergyT2-fe.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/usb/dvb-usb/cinergyT2-fe.c
b/drivers/media/usb/dvb-usb/cinergyT2-fe.c
index 1efc028..c890fe4
kfree on NULL pointer is a no-op.
Signed-off-by: Syam Sidhardhan
---
drivers/dma/imx-dma.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index 70b8975..0988583 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
Check for (bat == NULL) has to be done before accessing bat
Signed-off-by: Syam Sidhardhan
---
drivers/power/s3c_adc_battery.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c
index d2ca989..5948ce0
Need to initialize the variable wait to false.
Signed-off-by: Syam Sidhardhan
---
drivers/gpu/drm/i915/intel_ddi.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index fc95ef0..5d0a687 100644
--- a
We are using sizeof operator for an array given as function argument,
which is incorrect.
Signed-off-by: Syam Sidhardhan
---
arch/s390/kernel/dis.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c
index c50665f..3ad5e95
Hi,
On Tue, Nov 13, 2012 at 9:48 PM, Syam Sidhardhan wrote:
> Since it uses only THIS_MODULE macro, include
> is the right to go here.
>
> Signed-off-by: Syam Sidhardhan
> ---
> fs/proc/proc_devtree.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Since it uses only THIS_MODULE macro, include
is the right to go here.
Signed-off-by: Syam Sidhardhan
---
fs/proc/proc_devtree.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c
index df7dd08..0e9df31 100644
--- a/fs/proc
9 matches
Mail list logo