diff options
author | Danny Kukawka <danny.kukawka@bisect.de> | 2012-03-02 10:48:35 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-02 10:48:35 +0100 |
commit | cecd353a02fb1405c8a72a324b26b5acf97e7411 (patch) | |
tree | 7cc24dc423a88bf4c96170e2ae7fac4946fdb099 /block/genhd.c | |
parent | bca505f1097c725708ddc055cf8055e922b0904b (diff) | |
download | linux-3.10-cecd353a02fb1405c8a72a324b26b5acf97e7411.tar.gz linux-3.10-cecd353a02fb1405c8a72a324b26b5acf97e7411.tar.bz2 linux-3.10-cecd353a02fb1405c8a72a324b26b5acf97e7411.zip |
drivers/block/DAC960: fix -Wuninitialized warning
Set CommandMailbox with memset before use it. Fix for:
drivers/block/DAC960.c: In function ‘DAC960_V1_EnableMemoryMailboxInterface’:
arch/x86/include/asm/io.h:61:1: warning: ‘CommandMailbox.Bytes[12]’
may be used uninitialized in this function [-Wuninitialized]
drivers/block/DAC960.c:1175:30: note: ‘CommandMailbox.Bytes[12]’
was declared here
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions