reduce smatch gags in t4nex
Right now all of SMATCH is turned off for the
t4nex driver. We should reduce this. Right now I've left too in place, one of which is about unchecked function returns, which is mostly being done to deal with the general code that Chelsio shares. The second is about snprintf overflows. In practice the cases are OK due to how the versions work, but longer term we can remove that by moving those version strings into the UFM logic.
Updated by Electric Monk about 2 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 89f249c9183aad7ca607490285fba9fc6cfa2cd0 Author: Robert Mustacchi <email@example.com> Date: 2021-02-15T17:31:29.000Z 13407 reduce smatch gags in t4nex Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Richard Lowe <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>