aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/pktcdvd.c')
-rw-r--r--drivers/block/pktcdvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 0166ea136045..1b5cfcccd654 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -2368,7 +2368,7 @@ static void pkt_release_dev(struct pktcdvd_device *pd, int flush)
2368 pkt_shrink_pktlist(pd); 2368 pkt_shrink_pktlist(pd);
2369} 2369}
2370 2370
2371static struct pktcdvd_device *pkt_find_dev_from_minor(int dev_minor) 2371static struct pktcdvd_device *pkt_find_dev_from_minor(unsigned int dev_minor)
2372{ 2372{
2373 if (dev_minor >= MAX_WRITERS) 2373 if (dev_minor >= MAX_WRITERS)
2374 return NULL; 2374 return NULL;