commit | 013923477cb311293df9079332cf8b806ed0e6f2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Oct 06 10:34:19 2021 +0300 |
committer | Damien Le Moal <damien.lemoal@wdc.com> | Tue Oct 12 09:52:35 2021 +0900 |
tree | c53c623350d81b8d0d4bb18682b18fa95d328a4d | |
parent | 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc [diff] |
pata_legacy: fix a couple uninitialized variable bugs The last byte of "pad" is used without being initialized. Fixes: 55dba3120fbc ("libata: update ->data_xfer hook for ATAPI") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>