From: Paulo Marques Date: Thu, 31 Mar 2005 03:39:49 +0000 (-0500) Subject: [ACPI] fix kmalloc size bug in acpi/video.c X-Git-Tag: v2.6.13-rc3~10^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1dd0c23916bd781de27bc5ec1c295064e9ce9cc;p=pandora-kernel.git [ACPI] fix kmalloc size bug in acpi/video.c acpi_video_device_find_cap() used &p instead of *p when calculating storage size, thus allocating only 4 or 8 bytes instead of 12... Also, kfree(NULL) is legal, so remove some unneeded checks. From: Paulo Marques Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed