Skip to content
Commit 0a40a935 authored by Jens Axboe's avatar Jens Axboe
Browse files

gdrom: fix mistake in assignment of error



Apparently the kbuild bots missed this one originally, but at least
it caught it now. Fix compilation error:

All errors (new ones prefixed by >>):

   drivers/cdrom/gdrom.c: In function 'probe_gdrom':
>> drivers/cdrom/gdrom.c:797:3: error: 'rc' undeclared (first use in this function)
      rc = PTR_ERR(gd.gdrom_rq);
      ^~
   drivers/cdrom/gdrom.c:797:3: note: each undeclared identifier is reported only once for each function it appears in

Fixes: ad5fc6bb ("gdrom: convert to blk-mq")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d6f1dda2
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