Re: [PATCH] DS1286: new RTC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 07, 2008 at 11:03:07AM +0200, Geert Uytterhoeven wrote:

> > > +	priv = kzalloc(sizeof *priv, GFP_KERNEL);
> > 
> >  sizeof(struct ds1286_priv) is a little bit cleaner.
> 
> What if the type of priv changes?

Then this code will more changes anyway ...

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux