HomeFreeBSD

Add `make lint` target

Description

Add make lint target

Add a make lint target which maps to a cppcheck target. As with
the shellcheck target it will only run when cppcheck is installed.
This allows a make lint build check to be incrementally added to
the automated testing for distribution which provide cppcheck.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4915

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 1 2016, 6:00 PM
Parents
rG4eb0db42d30b: Fix possible VDEV stats array overflow
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb64e02e5805e: Add `make lint` target (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 2 2016, 4:25 PM