Re: [PATCH 135/140] ACPI: bay: make bay a platform driver

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

 



On Wednesday 07 February 2007 11:52, Len Brown wrote:
> -	new_bay = kmalloc(GFP_ATOMIC, sizeof(*new_bay));
> +	new_bay = kzalloc(GFP_ATOMIC, sizeof(*new_bay));
>  	INIT_LIST_HEAD(&new_bay->list);

You might want to check for kzalloc failure.
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux