summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-07-07 09:54:12 +0200
committerJens Axboe <axboe@fb.com>2016-07-07 08:51:52 -0600
commit5114e2773a6817cd14fb959c2a523eed2679eb02 (patch)
treed79c994c5f173bb1a26bfe5fc7dd59dbb5d2852d /drivers/lightnvm/rrpc.c
parent58eaaf9b6ccb8d5e40b83b75b2aeb29a63ce653a (diff)
downloadtalos-op-linux-5114e2773a6817cd14fb959c2a523eed2679eb02.tar.gz
talos-op-linux-5114e2773a6817cd14fb959c2a523eed2679eb02.zip
lightnvm: remove checkpatch warning for unsigned ints
Checkpatch found two incidents where the type was preferred to be written out in full. ./drivers/lightnvm/rrpc.h:184: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' ./drivers/lightnvm/rrpc.h:209: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' ./drivers/lightnvm/rrpc.c:51: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/rrpc.c')
-rw-r--r--drivers/lightnvm/rrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c
index 736e66968bc6..90c7cb4e9c43 100644
--- a/drivers/lightnvm/rrpc.c
+++ b/drivers/lightnvm/rrpc.c
@@ -48,7 +48,7 @@ static void rrpc_page_invalidate(struct rrpc *rrpc, struct rrpc_addr *a)
}
static void rrpc_invalidate_range(struct rrpc *rrpc, sector_t slba,
- unsigned len)
+ unsigned int len)
{
sector_t i;
OpenPOWER on IntegriCloud