lkml.org 
[lkml]   [2009]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] drivers/scsi : Correct the size argument to kmalloc
On Tue, 29 Dec 2009, Rolf Eike Beer wrote:

> Julia Lawall wrote:
> > From: Julia Lawall <julia@diku.dk>
> >
> > In each case, the destination of the allocation has type struct **, so the
> > elements of the array should have pointer type, not structure type.
>
> Maybe they should even by kcalloc'ed?

I thought about that, but in response to another patch someone seemed to
think kcalloc was not very useful. But I can certainly change it in this
case.

julia


\
 
 \ /
  Last update: 2009-12-29 21:07    [W:0.038 / U:1.964 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site