Re: [PATCH] gscd - get rid of warning.

Jens Axboe
2003-09-10T07:11:32Z

On Tue, Sep 09 2003, Stephen Hemminger wrote:
> Compiler warning on 2.6.0-test5 indicates a problem because of missing equal sign.
>
> diff -Nru a/drivers/cdrom/gscd.c b/drivers/cdrom/gscd.c
> --- a/drivers/cdrom/gscd.c Tue Sep 9 15:25:50 2003
> +++ b/drivers/cdrom/gscd.c Tue Sep 9 15:25:50 2003
> @@ -965,7 +965,7 @@
>
> gscd_queue = blk_init_queue(do_gscd_request, &gscd_lock);
> if (!gscd_queue) {
> - ret -ENOMEM;
> + ret = -ENOMEM;
> goto err_out3;
> }

No discussion, thanks :)

--
Jens Axboe