diff options
| author | Tony Breeds <[email protected]> | 2008-07-23 21:31:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-24 10:47:37 -0700 |
| commit | fcea8030b3c2e71ad89f080901c63a04f07881c8 (patch) | |
| tree | 942140d583a70b49f0dc3a7df52d9e66582907be /include/linux/timerqueue.h | |
| parent | 7951ac91c7d45b61f54f1cdabc24b52b40785de6 (diff) | |
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..
[[email protected]: coding-style fixes]
Signed-off-by: Tony Breeds <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions