diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2015-01-16 10:50:32 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-17 10:26:19 -0800 |
commit | 041af0bb765a5fd3a9206352ed9ec510a554f886 (patch) | |
tree | 5ffd7f382490fc41370c89498a2dadf607637d71 /drivers/infiniband/hw/qib/qib_driver.c | |
parent | 590c3fec2dbfc07f1dbdb992f9f213a9f71d7719 (diff) | |
download | talos-obmc-linux-041af0bb765a5fd3a9206352ed9ec510a554f886.tar.gz talos-obmc-linux-041af0bb765a5fd3a9206352ed9ec510a554f886.zip |
IB/qib: Fix sizeof checkpatch warnings
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_driver.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_driver.c b/drivers/infiniband/hw/qib/qib_driver.c index 5bee08f16d74..d10b60ec16cf 100644 --- a/drivers/infiniband/hw/qib/qib_driver.c +++ b/drivers/infiniband/hw/qib/qib_driver.c @@ -86,7 +86,7 @@ const char *qib_get_unit_name(int unit) { static char iname[16]; - snprintf(iname, sizeof iname, "infinipath%u", unit); + snprintf(iname, sizeof(iname), "infinipath%u", unit); return iname; } |