projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d450f19
)
mfd: Fix cs5535 warning on x86-64
author
Andres Salomon
<dilinger@queued.net>
Tue, 30 Nov 2010 21:54:39 +0000
(13:54 -0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:43 +0000
(12:37 +0100)
ARRAY_SIZE() returns size_t; use %zu instead of %d so that we don't
get warnings on x86-64.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/cs5535-mfd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/cs5535-mfd.c
b/drivers/mfd/cs5535-mfd.c
index b141ca7c777cb3162b07439277dbe4a696b110f8..59ca6f151e788cc901a218bddde8ae28715fc85c 100644
(file)
--- a/
drivers/mfd/cs5535-mfd.c
+++ b/
drivers/mfd/cs5535-mfd.c
@@
-103,7
+103,7
@@
static int __devinit cs5535_mfd_probe(struct pci_dev *pdev,
goto err_disable;
}
- dev_info(&pdev->dev, "%
d
devices registered.\n",
+ dev_info(&pdev->dev, "%
zu
devices registered.\n",
ARRAY_SIZE(cs5535_mfd_cells));
return 0;