OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcab6f3
)
[PATCH] drivers/fc4/fc.c: memset correct length
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 21 Feb 2006 02:28:10 +0000
(18:28 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:11 +0000
(20:00 -0800)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/fc4/fc.c
patch
|
blob
|
history
diff --git
a/drivers/fc4/fc.c
b/drivers/fc4/fc.c
index
5c89435
..
66d03f2
100644
(file)
--- a/
drivers/fc4/fc.c
+++ b/
drivers/fc4/fc.c
@@
-1053,7
+1053,7
@@
static int fc_do_els(fc_channel *fc, unsigned int alpa, void *data, int len)
int i;
fcmd = &_fcmd;
- memset(fcmd, 0, sizeof(fc
m
d));
+ memset(fcmd, 0, sizeof(fc
p_cmn
d));
FCD(("PLOGI SID %d DID %d\n", fc->sid, alpa))
fch = &fcmd->fch;
FILL_FCHDR_RCTL_DID(fch, R_CTL_ELS_REQ, alpa);