From: Christoph Hellwig <hch@lst.de>
To: James.Bottomley@steeleye.com
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH] constants.c codingstyle fixes
Date: Tue, 3 Jun 2003 23:04:27 +0200 [thread overview]
Message-ID: <20030603210427.GA9336@lst.de> (raw)
This is the same procedure most of the scsi source files
got a while ago.
diff -Nru a/drivers/scsi/constants.c b/drivers/scsi/constants.c
--- a/drivers/scsi/constants.c Sun Jun 1 21:27:22 2003
+++ b/drivers/scsi/constants.c Sun Jun 1 21:27:22 2003
@@ -1004,16 +1004,14 @@
#endif
}
-void print_sense(const char * devclass, Scsi_Cmnd * SCpnt)
+void print_sense(const char *devclass, struct scsi_cmnd *cmd)
{
- print_sense_internal(devclass, SCpnt->sense_buffer,
- SCpnt->request);
+ print_sense_internal(devclass, cmd->sense_buffer, cmd->request);
}
-void print_req_sense(const char * devclass, Scsi_Request * SRpnt)
+void print_req_sense(const char *devclass, struct scsi_request *sreq)
{
- print_sense_internal(devclass, SRpnt->sr_sense_buffer,
- SRpnt->sr_request);
+ print_sense_internal(devclass, sreq->sr_sense_buffer, sreq->sr_request);
}
#if (CONSTANTS & CONST_MSG)
@@ -1116,13 +1114,13 @@
return len;
}
-void print_Scsi_Cmnd (Scsi_Cmnd *cmd) {
+void print_Scsi_Cmnd(struct scsi_cmnd *cmd) {
printk("scsi%d : destination target %d, lun %d\n",
cmd->device->host->host_no,
cmd->device->id,
cmd->device->lun);
printk(" command = ");
- print_command (cmd->cmnd);
+ print_command(cmd->cmnd);
}
#if (CONSTANTS & CONST_HOST)
reply other threads:[~2003-06-03 20:51 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=20030603210427.GA9336@lst.de \
--to=hch@lst.de \
--cc=James.Bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
/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