]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "drivers: base: Convert print_symbol to %pSR"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:10:23 +0000 (13:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:10:23 +0000 (13:10 -0800)
This reverts commit e79798659339be800bf553c0b6fb06745aecf37f as %pSR
isn't in the tree yet.

Cc: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c

index 2937c631ea413626f935f83b868f0a496a062d03..27603a6c0a93ea63fc40f640c8b892fb5e0c618c 100644 (file)
@@ -97,8 +97,8 @@ static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
        if (dev_attr->show)
                ret = dev_attr->show(dev, dev_attr, buf);
        if (ret >= (ssize_t)PAGE_SIZE) {
-               printk("dev_attr_show: %pSR returned bad count\n",
-                      dev_attr->show);
+               print_symbol("dev_attr_show: %s returned bad count\n",
+                               (unsigned long)dev_attr->show);
        }
        return ret;
 }