Re: [PATCH] gdrom: Add missing error code

From: Jens Axboe
Date: Tue Feb 07 2017 - 19:13:19 EST


On 02/06/2017 03:00 PM, Christophe JAILLET wrote:
> In case of error, 'err' is known to be 0 here, because of the previous
> test. Set it to a -ENOMEM instead.

Added for 4.11, thanks.

--
Jens Axboe