summaryrefslogtreecommitdiff
path: root/drivers/misc/genwqe/card_debugfs.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-04-24 12:25:49 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-03 19:25:17 -0400
commit32d9dbe37965cb2e7fce47ea836a57cab4ffe5d4 (patch)
tree8040d2461d5fccfc083caeb4752aaa395c31061a /drivers/misc/genwqe/card_debugfs.c
parentfc1a5dbe49d42d9d46800e2af4cc75ee01c3d141 (diff)
misc: genwqe: Fix format string mismatch in card_debugfs.c
Fix two format string mismatch in genwqe_init_debugfs() Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_debugfs.c')
-rw-r--r--drivers/misc/genwqe/card_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/genwqe/card_debugfs.c b/drivers/misc/genwqe/card_debugfs.c
index 50d2096ea1c7..0a33ade64109 100644
--- a/drivers/misc/genwqe/card_debugfs.c
+++ b/drivers/misc/genwqe/card_debugfs.c
@@ -348,7 +348,7 @@ int genwqe_init_debugfs(struct genwqe_dev *cd)
char name[64];
unsigned int i;
- sprintf(card_name, "%s%u_card", GENWQE_DEVNAME, cd->card_idx);
+ sprintf(card_name, "%s%d_card", GENWQE_DEVNAME, cd->card_idx);
root = debugfs_create_dir(card_name, cd->debugfs_genwqe);
if (!root) {
@@ -454,7 +454,7 @@ int genwqe_init_debugfs(struct genwqe_dev *cd)
}
for (i = 0; i < GENWQE_MAX_VFS; i++) {
- sprintf(name, "vf%d_jobtimeout_msec", i);
+ sprintf(name, "vf%u_jobtimeout_msec", i);
file = debugfs_create_u32(name, 0666, root,
&cd->vf_jobtimeout_msec[i]);