Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-linus-20180713' of git://git.kernel.dk/linux-block

Pull block fix from Jens Axboe:
"Just a single regression fix (from 4.17) for bsg, fixing an EINVAL
return on non-data commands"

* tag 'for-linus-20180713' of git://git.kernel.dk/linux-block:
bsg: fix bogus EINVAL on non-data commands

-2
-2
block/bsg.c
··· 267 267 } else if (hdr->din_xfer_len) { 268 268 ret = blk_rq_map_user(q, rq, NULL, uptr64(hdr->din_xferp), 269 269 hdr->din_xfer_len, GFP_KERNEL); 270 - } else { 271 - ret = blk_rq_map_user(q, rq, NULL, NULL, 0, GFP_KERNEL); 272 270 } 273 271 274 272 if (ret)