From: Robert Love <rml@tech9.net>
To: laughing@shared-source.org, torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] scsi compile warning fix
Date: 29 Oct 2001 10:26:07 -0500 [thread overview]
Message-ID: <1004369168.861.15.camel@phantasy> (raw)
drivers/scsi/scsi.c : proc_scsi_gen_write is declared prior to its
formal definition. it is not used before its definition, and thus the
prior declaration is pointless, generating a compile warning...
attached applies fine to 2.4.13-ac4...
diff -urN linux-2.4.13-ac2/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
--- linux-2.4.13-ac2/drivers/scsi/scsi.c Fri Oct 26 15:47:59 2001
+++ linux/drivers/scsi/scsi.c Fri Oct 26 23:34:20 2001
@@ -1515,9 +1515,6 @@
spin_unlock_irqrestore(&device_request_lock, flags);
}
-static int proc_scsi_gen_write(struct file * file, const char * buf,
- unsigned long length, void *data);
-
void __init scsi_host_no_insert(char *str, int n)
{
Scsi_Host_Name *shn, *shn2;
Robert Love
reply other threads:[~2001-10-29 15:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1004369168.861.15.camel@phantasy \
--to=rml@tech9.net \
--cc=laughing@shared-source.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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 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).