projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b44: fix IFF_ALLMULTI handling of CAM slots
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
dc395x.c
diff --git
a/drivers/scsi/dc395x.c
b/drivers/scsi/dc395x.c
index e95b367d09edd739af8e1739a8d9ed2a1b8d20aa..a965ed3548d5583fd2ac56d343b0e8d5a0f64d08 100644
(file)
--- a/
drivers/scsi/dc395x.c
+++ b/
drivers/scsi/dc395x.c
@@
-4319,7
+4319,7
@@
static int __devinit adapter_sg_tables_alloc(struct AdapterCtlBlk *acb)
dprintkdbg(DBG_1, "Allocate %i pages for SG tables\n", pages);
while (pages--) {
- ptr =
(struct SGentry *)
kmalloc(PAGE_SIZE, GFP_KERNEL);
+ ptr = kmalloc(PAGE_SIZE, GFP_KERNEL);
if (!ptr) {
adapter_sg_tables_free(acb);
return 1;