projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some kmalloc/memset ->kzalloc (tree wide)
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
sh
/
superhyway
/
superhyway-sysfs.c
diff --git
a/drivers/sh/superhyway/superhyway-sysfs.c
b/drivers/sh/superhyway/superhyway-sysfs.c
index dc119ce68e3eafa7a0c6c4e03d244224b3e3c8df..55434330867b27c1b90c331fb1189202439dcff8 100644
(file)
--- a/
drivers/sh/superhyway/superhyway-sysfs.c
+++ b/
drivers/sh/superhyway/superhyway-sysfs.c
@@
-30,7
+30,7
@@
superhyway_ro_attr(bot_mb, "0x%02x\n", vcr.bot_mb);
superhyway_ro_attr(top_mb, "0x%02x\n", vcr.top_mb);
/* Misc */
superhyway_ro_attr(top_mb, "0x%02x\n", vcr.top_mb);
/* Misc */
-superhyway_ro_attr(resource, "0x%08lx\n", resource.start);
+superhyway_ro_attr(resource, "0x%08lx\n", resource
[0]
.start);
struct device_attribute superhyway_dev_attrs[] = {
__ATTR_RO(perr_flags),
struct device_attribute superhyway_dev_attrs[] = {
__ATTR_RO(perr_flags),