commit | 6cc8b6f51eb1af72882c279f691c5de7d5a43bf2 | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@osdl.org> | Mon Jul 10 15:28:54 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Jul 13 01:50:01 2006 -0700 |
tree | a7806a7c0e9016508806a80ca4ef0ff59225f5d2 | |
parent | e47f31787dee5bf57453e18edefff56e17fa44f9 [diff] |
[SPARC64]: of_device_register() error checking fix device_create_file() can fail. This causes the sparc64 compile to fail when my fanatical __must_check patch is applied, due to -Werror. [ Added necessary identical fix for sparc32. -DaveM] Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>