Re: [patch] FMC: NULL dereference on allocation failure

2013-06-19 Thread Alessandro Rubini
> Apparently these are going through Greg K-H. I'll resend, with Greg > CC'd so he can pick it up from the mailing list. > > Could you add an entry to the MAINTAINERS file so that Greg will be > CC'd automatically using get_maintainer.pl? Ok. Added to my todo list. > Is there a dedicated list

Re: [patch] FMC: NULL dereference on allocation failure

2013-06-19 Thread Dan Carpenter
On Wed, Jun 19, 2013 at 05:25:28PM +0200, Alessandro Rubini wrote: > > If we don't allocate "arr" then the cleanup path will dereference it and > > oops. > > You are right, thanks (acked). > > How is the procedure here? I don't have my own git tree on > kernel.org for pull requests. Can this go t

Re: [patch] FMC: NULL dereference on allocation failure

2013-06-19 Thread Alessandro Rubini
> If we don't allocate "arr" then the cleanup path will dereference it and > oops. You are right, thanks (acked). How is the procedure here? I don't have my own git tree on kernel.org for pull requests. Can this go through the janitors? (if it makes sense, I can try the procedure to have a tree,

[patch] FMC: NULL dereference on allocation failure

2013-06-19 Thread Dan Carpenter
If we don't allocate "arr" then the cleanup path will dereference it and oops. Signed-off-by: Dan Carpenter diff --git a/drivers/fmc/fmc-sdb.c b/drivers/fmc/fmc-sdb.c index 74fb326..79adc39 100644 --- a/drivers/fmc/fmc-sdb.c +++ b/drivers/fmc/fmc-sdb.c @@ -46,16 +46,17 @@ static struct sdb_array