Clean up mpt_sas compiler warnings
While building, I stumbled across the fact that mpt_sas non-debug build had several -Wempty-body warnings from the compiler. This goes through and fixes several of the easier warnings such that mpt_sas can be a more reliable part. With the exception of the -Wempty-body warnings, the rest of these did not seem to constitute major problems.
See testing notes in 9044.
Updated by Electric Monk over 1 year ago
- Status changed from New to Closed
commit e89016e771abb6871cb08b54316d9a1a826a9193 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2018-04-04T20:15:13.000Z 9044 Need support for mpt_sas tri-mode parts 9045 Clean up mpt_sas compiler warnings 9046 mptsas_handle_topo_change can return without its locks held 9047 workaround SAS3408 firmware issue Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Reviewed by: Albert Lee <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>