linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gscd - get rid of warning.
@ 2003-09-09 22:28 Stephen Hemminger
  2003-09-10  7:11 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2003-09-09 22:28 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

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;
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gscd - get rid of warning.
  2003-09-09 22:28 [PATCH] gscd - get rid of warning Stephen Hemminger
@ 2003-09-10  7:11 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2003-09-10  7:11 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-10  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 22:28 [PATCH] gscd - get rid of warning Stephen Hemminger
2003-09-10  7:11 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).