All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Miller <rem@osdl.org>
To: trivial@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVIAL PATCH 2.5.51] Remove compile warning from  drivers/ide/pci/cs5520.c
Date: Wed, 11 Dec 2002 14:28:10 -0800	[thread overview]
Message-ID: <20021211222810.GA1067@doc.pdx.osdl.net> (raw)

The function, cs5520_tune_chipset() is declared to return an int.
Added a return statement instead of just falling of off the bottom.

diff -Nru a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c
--- a/drivers/ide/pci/cs5520.c	Wed Dec 11 13:41:51 2002
+++ b/drivers/ide/pci/cs5520.c	Wed Dec 11 13:41:51 2002
@@ -166,6 +166,8 @@
 	/* ATAPI is harder so leave it for now */
 	if(!error && drive->media == ide_disk)
 		error = hwif->ide_dma_on(drive);
+
+	return error;
 }	
 	
 static void cs5520_tune_drive(ide_drive_t *drive, u8 pio)

-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17

             reply	other threads:[~2002-12-11 22:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 22:28 Bob Miller [this message]
2002-12-12  1:29 ` [TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/cs5520.c Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021211222810.GA1067@doc.pdx.osdl.net \
    --to=rem@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.