Skip to content
Commit 01392347 authored by Dan Carpenter's avatar Dan Carpenter Committed by Damien Le Moal
Browse files

pata_legacy: fix a couple uninitialized variable bugs



The last byte of "pad" is used without being initialized.

Fixes: 55dba312 ("libata: update ->data_xfer hook for ATAPI")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
parent 64570fbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment