* [PATCH 0/4] Fix k.alloc switched arguments
@ 2010-10-31 22:33 Joe Perches
2010-10-31 22:33 ` [PATCH 2/4] drivers/scsi/pmcraid.c: " Joe Perches
2010-11-02 22:47 ` [RESEND PATCH " Joe Perches
0 siblings, 2 replies; 3+ messages in thread
From: Joe Perches @ 2010-10-31 22:33 UTC (permalink / raw)
To: linux-kernel
Cc: devel, Anil Ravindranath, linux-scsi, David Airlie,
Greg Kroah-Hartman, dri-devel, James E.J. Bottomley,
Andy Whitcroft
Joe Perches (4):
drivers/gpu/drm/vmwgfx: Fix k.alloc switched arguments
drivers/scsi/pmcraid.c: Fix k.alloc switched arguments
drivers/staging/udlfb/udlfb.c: Fix k.alloc switched arguments
scripts/checkpatch.pl: Add check for k.alloc GFP as first argument
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 2 +-
drivers/scsi/pmcraid.c | 4 ++--
drivers/staging/udlfb/udlfb.c | 2 +-
scripts/checkpatch.pl | 5 +++++
5 files changed, 10 insertions(+), 5 deletions(-)
--
1.7.3.1.g432b3.dirty
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/4] drivers/scsi/pmcraid.c: Fix k.alloc switched arguments
2010-10-31 22:33 [PATCH 0/4] Fix k.alloc switched arguments Joe Perches
@ 2010-10-31 22:33 ` Joe Perches
2010-11-02 22:47 ` [RESEND PATCH " Joe Perches
1 sibling, 0 replies; 3+ messages in thread
From: Joe Perches @ 2010-10-31 22:33 UTC (permalink / raw)
To: linux-kernel; +Cc: Anil Ravindranath, James E.J. Bottomley, linux-scsi
And a typo fix of faile to failed.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/scsi/pmcraid.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index 4b87657..e5a694a 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4094,10 +4094,10 @@ static long pmcraid_chr_ioctl(
struct pmcraid_ioctl_header *hdr = NULL;
int retval = -ENOTTY;
- hdr = kmalloc(GFP_KERNEL, sizeof(struct pmcraid_ioctl_header));
+ hdr = kmalloc(sizeof(struct pmcraid_ioctl_header), GFP_KERNEL);
if (!hdr) {
- pmcraid_err("faile to allocate memory for ioctl header\n");
+ pmcraid_err("failed to allocate memory for ioctl header\n");
return -ENOMEM;
}
--
1.7.3.1.g432b3.dirty
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [RESEND PATCH 2/4] drivers/scsi/pmcraid.c: Fix k.alloc switched arguments
2010-10-31 22:33 [PATCH 0/4] Fix k.alloc switched arguments Joe Perches
2010-10-31 22:33 ` [PATCH 2/4] drivers/scsi/pmcraid.c: " Joe Perches
@ 2010-11-02 22:47 ` Joe Perches
1 sibling, 0 replies; 3+ messages in thread
From: Joe Perches @ 2010-11-02 22:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Anil Ravindranath, James E.J. Bottomley, linux-scsi
And a typo fix of faile to failed.
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/scsi/pmcraid.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index 4b87657..e5a694a 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4094,10 +4094,10 @@ static long pmcraid_chr_ioctl(
struct pmcraid_ioctl_header *hdr = NULL;
int retval = -ENOTTY;
- hdr = kmalloc(GFP_KERNEL, sizeof(struct pmcraid_ioctl_header));
+ hdr = kmalloc(sizeof(struct pmcraid_ioctl_header), GFP_KERNEL);
if (!hdr) {
- pmcraid_err("faile to allocate memory for ioctl header\n");
+ pmcraid_err("failed to allocate memory for ioctl header\n");
return -ENOMEM;
}
--
1.7.3.1.g432b3.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-02 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-31 22:33 [PATCH 0/4] Fix k.alloc switched arguments Joe Perches
2010-10-31 22:33 ` [PATCH 2/4] drivers/scsi/pmcraid.c: " Joe Perches
2010-11-02 22:47 ` [RESEND PATCH " Joe Perches
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).