summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJames Nelson <james4765@verizon.net>2005-01-04 05:37:07 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:37:07 -0800
commitdb43a9982a1ac8b797e82d22c92a43ec676ec1a0 (patch)
tree8596d802af4012399a0b9b04af3305d693abd9a9 /include
parentd8fe5b06d7abb27c94f50238f052fb56645316ee (diff)
[PATCH] lcd: fix memory leak, code cleanup
This patch addresses the following issues: - Fix log-spamming and cryptic error messages, and add KERN_ constants. - Convert some ints to unsigned ints. - Add checks for CAP_SYS_ADMIN for FLASH_Burn and FLASH_Erase ioctls. - Identify use of global variable. - Fix memory leak in FLASH_Burn ioctl. - Fix error return codes in lcd_ioctl(). - Move variable "index" in lcd_ioctl() to smaller scope to reduce memory usage. - Convert cli()/sti() to spin_lock_irqsave()/spin_unlock_irqrestore(). Fix legibility issues in FLASH_Burn ioctl. Signed-off-by: James Nelson <james4765@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions