diff options
| author | Damien Le Moal <[email protected]> | 2022-03-22 07:01:37 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2022-04-04 00:49:42 +0000 |
| commit | 76ed2f61ae3ee5ca6e3ef155a703ab3eee1eb295 (patch) | |
| tree | b48cf29c89fa1725e8e770a2370ff41be407a724 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | Linux 5.18-rc1 (diff) | |
| download | kernel-76ed2f61ae3ee5ca6e3ef155a703ab3eee1eb295.tar.gz kernel-76ed2f61ae3ee5ca6e3ef155a703ab3eee1eb295.zip | |
ata: libata-sff: Fix compilation warning in ata_sff_lost_interrupt()
When returning false, ata_sff_altstatus() does not return any status
value, resulting in a compilation warning in ata_sff_lost_interrupt()
("uninitialized symbol 'status'"). Fix this by initializing the local
variable "status" to 0.
Fixes: 03c0e84f9c1e ("ata: libata-sff: refactor ata_sff_altstatus()")
Cc: [email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
