On Oct 01 2005, at 13:32, Jiri Slaby was caught saying:
> On 10/1/05, Deepak Saxena <[email protected]> wrote:
> > + iface = (struct keywest_iface *) kzalloc(tsize, GFP_KERNEL);
> cast isn't needed
> > + if (!(smbuses = (void *)kzalloc(2*sizeof(struct nforce2_smbus),
> > GFP_KERNEL)))
> cast from (void*) to (void*)? No...
Agree...but I'm just doing kzalloc changes for now and if I started
cleaning every piece of ugly or bloated code in the kernel, I would
spend the rest of my life looking at drivers/ACPI.
~Deepak
--
Deepak Saxena - [email protected] - http://www.plexity.net
Even a stopped clock gives the right time twice a day.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]