projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61effb5
)
pci-label.c: size_t misspelled as mode_t
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 03:31:06 +0000
(23:31 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 17:01:09 +0000
(13:01 -0400)
no, really, strlen() and snprintf() do not return mode_t values...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/pci/pci-label.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci-label.c
b/drivers/pci/pci-label.c
index 77cb2a14c896893e4898ae8ed2d6dbdc74279300..81525ae5d869cffec2f211e16db96d88cb7d7c07 100644
(file)
--- a/
drivers/pci/pci-label.c
+++ b/
drivers/pci/pci-label.c
@@
-55,7
+55,7
@@
enum smbios_attr_enum {
SMBIOS_ATTR_INSTANCE_SHOW,
};
-static
mod
e_t
+static
siz
e_t
find_smbios_instance_string(struct pci_dev *pdev, char *buf,
enum smbios_attr_enum attribute)
{