Skip to content
Snippets Groups Projects
Commit 116932c0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

pata_legacy: fix a couple uninitialized variable bugs


commit 01392347 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50cb9548
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment