projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git]
/
drivers
/
scsi
/
pluto.c
diff --git
a/drivers/scsi/pluto.c
b/drivers/scsi/pluto.c
index aa60a5f1fbc3b5b639cf0123900b0ba862a36518..3b2e1a53e6e2df3e63dbf153e42ae516e33be652 100644
(file)
--- a/
drivers/scsi/pluto.c
+++ b/
drivers/scsi/pluto.c
@@
-117,7
+117,7
@@
int __init pluto_detect(struct scsi_host_template *tpnt)
#endif
return 0;
}
- fcs =
(struct ctrl_inquiry *) kmalloc
(sizeof (struct ctrl_inquiry) * fcscount, GFP_DMA);
+ fcs =
kmalloc
(sizeof (struct ctrl_inquiry) * fcscount, GFP_DMA);
if (!fcs) {
printk ("PLUTO: Not enough memory to probe\n");
return 0;