2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/drivers/video/aty
Tony Breeds fcea8030b3 drivers/video/aty/radeon_base.c: notify user if sysfs_create_bin_file() failed
Current kernel builds warn about:
drivers/video/aty/radeon_base.c: In function 'radeonfb_pci_register':
drivers/video/aty/radeon_base.c:2334: warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result
drivers/video/aty/radeon_base.c:2336: warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result

Do minimal checking of these functions and issue a warning if either
fails.  They don't seem to be critical..

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:37 -07:00
..
ati_ids.h Radeonfb Xpress 200M RC410 support 2007-10-16 09:43:19 -07:00
aty128fb.c driver core: remove DEVICE_NAME_SIZE define 2008-07-21 21:54:53 -07:00
atyfb_base.c fbdev: fix integer as NULL pointer warning 2008-05-23 08:11:07 -07:00
atyfb.h atyfb: atyfb: Unshare pseudo_palette 2007-10-16 09:43:17 -07:00
mach64_accel.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mach64_ct.c video: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:42 -07:00
mach64_cursor.c fbdev: change asm/uaccess.h to linux/uaccess.h 2007-10-16 09:43:17 -07:00
mach64_gx.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
radeon_accel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_backlight.c backlight: Convert from struct class_device to struct device 2007-07-16 01:20:23 +01:00
radeon_base.c drivers/video/aty/radeon_base.c: notify user if sysfs_create_bin_file() failed 2008-07-24 10:47:37 -07:00
radeon_i2c.c radeonfb: speed up the I2C buses 2008-04-28 08:58:38 -07:00
radeon_monitor.c radeonfb: drop redundant RTRACE macro 2008-04-28 08:58:38 -07:00
radeon_pm.c drivers/video/: Spelling fixes 2008-02-03 17:31:49 +02:00
radeonfb.h driver core: remove DEVICE_NAME_SIZE define 2008-07-21 21:54:53 -07:00