From: Nathan Lynch Date: Sun, 23 Mar 2008 22:51:45 +0000 (+1100) Subject: [POWERPC] scanlog_init cleanup and minor fixes X-Git-Tag: v2.6.26-rc1~1125^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f61fb8a52cdf8b9b6a6badde84aefe58cb35d315;p=pandora-kernel.git [POWERPC] scanlog_init cleanup and minor fixes scanlog_init() could use some love. * properly return -ENODEV if this system doesn't support scan-log-dump * don't printk if scan-log-dump not present; only older systems have it * convert from create_proc_entry() to preferred proc_create() * allocate zeroed data buffer * fix potential memory leak of ent->data on failed create_proc_entry() * simplify control flow Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed