Re: [logfs] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-03-23 Thread Prasad Joshi
---+++---+ > Thanks a lot for BUG report and your analysis and sorry for delayed response. > [0.931658] LogFS: Start unmounting > [0.932279] LogFS: Start mount 1 Does this happen first time you try to mount LogFS? If yes can you please recreate t

Re: [logfs] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-03-23 Thread Prasad Joshi
] LogFS: Start unmounting [0.932279] LogFS: Start mount 1 Does this happen first time you try to mount LogFS? If yes can you please recreate the file system (mklogfs). To recreate the file system please clone the latest logfsprogs from https://github.com/prasad-joshi/logfsprogs.git If this does

[PATCH] sysctl: Use BUG_ON instead of BUG

2012-09-02 Thread Prasad Joshi
The use of if (!head) BUG(); can be replaced with single line BUG_ON(!head). Signed-off-by: Prasad Joshi --- fs/proc/proc_sysctl.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index dfafeb2..63bdfa0 100644 --- a/fs/proc

[PATCH] sysctl: Use BUG_ON instead of BUG

2012-09-02 Thread Prasad Joshi
The use of if (!head) BUG(); can be replaced with single line BUG_ON(!head). Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.com --- fs/proc/proc_sysctl.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index dfafeb2

[PATCH] ASoC: correct the check for NULL dma_buffer pointer

2012-08-30 Thread Prasad Joshi
The if condition if (!buf && !buf->area) checks if the buf pointer is NULL and then dereferences it again to check if the buffer area is NULL, resulting in possible NULL dereference. Signed-off-by: Prasad Joshi --- sound/soc/spear/spear_pcm.c |2 +- 1 files changed, 1

[PATCH] ASoC: correct the check for NULL dma_buffer pointer

2012-08-30 Thread Prasad Joshi
The if condition if (!buf !buf-area) checks if the buf pointer is NULL and then dereferences it again to check if the buffer area is NULL, resulting in possible NULL dereference. Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.com --- sound/soc/spear/spear_pcm.c |2 +- 1 files

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
On Sun, Aug 26, 2012 at 4:56 PM, Prasad Joshi wrote: > Hello Linus, > > Could you please pull the following changes since commit > dd775ae2549217d3ae09363e3edb305d0fa19928: > > Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) > > are available in the git repository at: >

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
Hello Linus, Could you please pull the following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928: Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) are available in the git repository at: git://github.com/prasad-joshi/logfs_upstream.git master Prasad Joshi (5): logfs: destroy

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
Hello Linus, Could you please pull the following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928: Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) are available in the git repository at: git://github.com/prasad-joshi/logfs_upstream.git master Prasad Joshi (5): logfs: destroy

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
On Sun, Aug 26, 2012 at 4:56 PM, Prasad Joshi prasadjoshi.li...@gmail.com wrote: Hello Linus, Could you please pull the following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928: Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) are available in the git repository at: git