summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-label.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-25 05:31:06 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-26 19:01:09 +0200
commited476418394f12d47f27a75424c237a94d244f10 (patch)
tree7237c6c7677ff112afa986dcf4379409aa25efc2 /drivers/pci/pci-label.c
parentjffs2: S_ISLNK(mode & S_IFMT) is pointless (diff)
downloadlinux-ed476418394f12d47f27a75424c237a94d244f10.tar.xz
linux-ed476418394f12d47f27a75424c237a94d244f10.zip
pci-label.c: size_t misspelled as mode_t
no, really, strlen() and snprintf() do not return mode_t values... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/pci/pci-label.c')
-rw-r--r--drivers/pci/pci-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c
index 77cb2a14c896..81525ae5d869 100644
--- 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 mode_t
+static size_t
find_smbios_instance_string(struct pci_dev *pdev, char *buf,
enum smbios_attr_enum attribute)
{