From: Pramod Gurav
This patch switches data allocation from kzalloc to devm_kzalloc.
It also removed some kfree() on data that was earlier allocated
using devm_kzalloc().
CC: Herbert Xu
CC: "David S. Miller"
CC: Grant Likely
CC: Rob Herring
CC: Nicolas Ferre
Signed-off-by: Pramod Gurav
--
From: Pramod Gurav
This patch switches data allocation from kzalloc to devm_kzalloc.
It also removes some kfree() on data that was earlier allocated
using devm_kzalloc() from probe as well as remove funtions.
CC: Herbert Xu
CC: "David S. Miller"
CC: Grant Likely
CC: Rob Herring
Signed-off-b
From: Pramod Gurav
This switches memory allocations from kzalloc to devm_kzalloc.
This also changes the way return checks were done on failure cases
of three allocations. The checks were clubbed together and hence
must be done seperately to avoid calling kfree on unallocated memory.
Moreover in
From: Pramod Gurav
This patch does below:
- Removes kfree done on data allocated with devm_zalloc in probe
path of the driver.
- Adds a check on return value from devm_kzalloc which was missing
CC: Dmitry Torokhov
CC: Lejun Zhu
CC: Sachin Kamat
Signed-off-by: Pramod Gurav
---
drivers/inp
From: Pramod Gurav
This patch does below:
- Removes kfree done on data allocated with devm_zalloc in probe
path of the driver.
- Adds a check on return value from devm_kzalloc which was missing
- Removes the error lables and instead releases resources and returns
after failures
CC: Dmitry To
From: Pramod Gurav
This patch does below:
- Removes kfree done on data allocated with devm_zalloc in probe
path of the driver.
- Adds a check on return value from devm_kzalloc which was missing
and renames a lable from err_free_mem to err_mem.
- Adds couple of dev_err on failure to allocate m
From: Pramod Gurav
This patch switches data allocation from kzalloc to devm_kzalloc.
It also removes some kfree() on data that was earlier allocated
using devm_kzalloc() from probe as well as remove funtions.
CC: Grant Likely
CC: Rob Herring
Signed-off-by: Pramod Gurav
---
drivers/crypto/at
From: Pramod Gurav
This patch switches data allocation from kzalloc to devm_kzalloc.
It also removed some kfree() on data that was earlier allocated
using devm_kzalloc().
CC: Grant Likely
CC: Rob Herring
CC: Nicolas Ferre
CC: Herbert Xu
Signed-off-by: Pramod Gurav
---
drivers/crypto/atmel
From: Pramod Gurav
REGMAP_SPMI module calls some functions from SPMI hence build breaks
when SPMI is not enabled while compiling REGMAP_SPMI with below linker
errors:
drivers/built-in.o: In function `regmap_spmi_ext_read':
:(.text+0x1143ec): undefined reference to `spmi_ext_register_read'
:(.tex
From: Pramod Gurav
Fixes below warning while compiling the kernel.
fs/direct-io.c: In function ‘__blockdev_direct_IO’:
fs/direct-io.c:1011:12: warning: ‘to’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
fs/direct-io.c:913:16: note: ‘to’ was declared here
fs/direct-io.c:1011
From: Pramod Gurav
Adding "GPL" license to fix a warning while compiling as
module.
CC: Greg Kroah-Hartman
CC: Brian Swetland
Signed-off-by: Pramod Gurav
---
drivers/staging/android/alarm-dev.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ala
From: Pramod Gurav
Currently this alarm-dev can be compiles only as built in
driver. This adds support to compile it as module as well which is in
planned activity (See drivers/staging/android/TODO)
CC: Greg Kroah-Hartman
CC: Brian Swetland
Signed-off-by: Pramod Gurav
---
drivers/staging/an
From: Pramod Gurav
Export symbol of alarmtimer_get_rtcdev so that it is used by
any driver when built as module like,
drivers/staging/android/alarm-dev.c.
CC: John Stultz
CC: Marcus Gelderie
CC: Greg Kroah-Hartman
Signed-off-by: Pramod Gurav
---
This Export was missing in Marcus's below pat
From: Pramod Gurav
Currently this alarm-dev can be compiles only as built in
driver. This adds support to compile it as module as well.
This has dependancy on:
https://lkml.org/lkml/2014/6/12/180
which exports symbol of alarmtimer function.
CC: Greg Kroah-Hartman
CC: Brian Swetland
Signed-off
From: Pramod Gurav
Export symbol of alarmtimer_get_rtcdev so that it is used by
any driver when built as module like,
drivers/staging/android/alarm-dev.c
This Export was missing in Marcus's below patch:
https://lkml.org/lkml/2013/6/1/144
CC: triv...@kernel.org
CC: John Stultz
CC: Marcus Gelder
15 matches
Mail list logo