git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
usb
/
storage
/
sddr55.c
diff --git
a/drivers/usb/storage/sddr55.c
b/drivers/usb/storage/sddr55.c
index
8451779
..
0b1b5b5
100644
(file)
--- a/
drivers/usb/storage/sddr55.c
+++ b/
drivers/usb/storage/sddr55.c
@@
-751,11
+751,10
@@
int sddr55_transport(struct scsi_cmnd *srb, struct us_data *us)
struct sddr55_card_info *info;
if (!us->extra) {
struct sddr55_card_info *info;
if (!us->extra) {
- us->extra = k
m
alloc(
+ us->extra = k
z
alloc(
sizeof(struct sddr55_card_info), GFP_NOIO);
if (!us->extra)
return USB_STOR_TRANSPORT_ERROR;
sizeof(struct sddr55_card_info), GFP_NOIO);
if (!us->extra)
return USB_STOR_TRANSPORT_ERROR;
- memset(us->extra, 0, sizeof(struct sddr55_card_info));
us->extra_destructor = sddr55_card_info_destructor;
}
us->extra_destructor = sddr55_card_info_destructor;
}