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 16:51:52 +0200
commit5114e2773a6817cd14fb959c2a523eed2679eb02 (patch)
treed79c994c5f173bb1a26bfe5fc7dd59dbb5d2852d /drivers/lightnvm/rrpc.c
parentlightnvm: Make functions not used by ouside static (diff)
downloadlinux-5114e2773a6817cd14fb959c2a523eed2679eb02.tar.xz
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;