Commit d613f390 authored by James Bottomley's avatar James Bottomley

Fix up scsi_alloc_request in sr.c to take a GFP_ flag

parent 90326607
......@@ -713,7 +713,7 @@ static void get_capabilities(struct scsi_cd *cd)
};
/* allocate a request for the TEST_UNIT_READY */
SRpnt = scsi_allocate_request(cd->device);
SRpnt = scsi_allocate_request(cd->device, GFP_KERNEL);
if (!SRpnt) {
printk(KERN_WARNING "(get_capabilities:) Request allocation "
"failure.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment