aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsrp.c')
-rw-r--r--drivers/scsi/libsrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsrp.c b/drivers/scsi/libsrp.c
index db1b41c55fd3..975e448cfcb9 100644
--- a/drivers/scsi/libsrp.c
+++ b/drivers/scsi/libsrp.c
@@ -61,7 +61,7 @@ static int srp_iu_pool_alloc(struct srp_queue *q, size_t max,
61 kfifo_init(&q->queue, (void *) q->pool, max * sizeof(void *)); 61 kfifo_init(&q->queue, (void *) q->pool, max * sizeof(void *));
62 62
63 for (i = 0, iue = q->items; i < max; i++) { 63 for (i = 0, iue = q->items; i < max; i++) {
64 __kfifo_put(&q->queue, (void *) &iue, sizeof(void *)); 64 kfifo_put(&q->queue, (void *) &iue, sizeof(void *));
65 iue->sbuf = ring[i]; 65 iue->sbuf = ring[i];
66 iue++; 66 iue++;
67 } 67 }