not sure if it would give warnings for not capturing the result.
then doing this would be the way to go.
if (ret) {
printk(KERN_WARNING "dev%d: Failed to create physical_node sysfs link:
%d\n");
}
but like you had said unnecessary braces, and only one statement
I'll look at this some more too see if I come up with anything.
Justin P. Mattock
--