From: Al Viro <viro@ftp.linux.org.uk>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH] kmalloc arguments in wrong order (53c700)
Date: Thu, 22 Jun 2006 21:48:13 +0100 [thread overview]
Message-ID: <20060622204813.GY27946@ftp.linux.org.uk> (raw)
Could people please run make C=2 at some point?
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
drivers/scsi/53c700.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
c14b0d0f9f7df1aeb96e1651927ea902368e3175
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
index 3c683dc..bff0479 100644
--- a/drivers/scsi/53c700.c
+++ b/drivers/scsi/53c700.c
@@ -2044,7 +2044,7 @@ NCR_700_slave_configure(struct scsi_devi
struct NCR_700_Host_Parameters *hostdata =
(struct NCR_700_Host_Parameters *)SDp->host->hostdata[0];
- SDp->hostdata = kmalloc(GFP_KERNEL, sizeof(struct NCR_700_sense));
+ SDp->hostdata = kmalloc(sizeof(struct NCR_700_sense), GFP_KERNEL);
if (!SDp->hostdata)
return -ENOMEM;
--
1.3.GIT
next reply other threads:[~2006-06-22 20:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-22 20:48 Al Viro [this message]
2006-06-23 0:46 ` [PATCH] kmalloc arguments in wrong order (53c700) Douglas Gilbert
2006-06-23 1:42 ` Randy.Dunlap
2006-06-23 4:55 ` Linus Torvalds
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=20060622204813.GY27946@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=linux-scsi@vger.kernel.org \
--cc=torvalds@osdl.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 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.