From: Alex Chiang Date: Thu, 24 Apr 2008 18:57:08 +0000 (-0600) Subject: [IA64] Remove printk noise on unimplemented SAL_PHYSICAL_ID_INFO X-Git-Tag: v2.6.26-rc1~348^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff0bc94eee96fe45e5caa338c8b03cb99431fa9;p=pandora-kernel.git [IA64] Remove printk noise on unimplemented SAL_PHYSICAL_ID_INFO Commit 113134fcbca83619be4c68d0ca66db6093777b5d changed the flow of control when calling PAL_LOGICAL_TO_PHYSICAL and SAL_PHYSICAL_ID_INFO. With the change, if a platform did not implement the latter, a useless printk would appear in the boot log: ia64_sal_pltid failed with -1 So let's check the return code and only printk on a true error, and do not print anything in the unimplemented case. While we're in there, clean up some stylistic issues too. Signed-off-by: Alex Chiang Signed-off-by: Tony Luck --- Reading git-diff-tree failed