Customized for development on drivers/staging/
Before submitting patches we need to:
- Each Patch: - does one thing only (no unnecessary code churn) - builds
- Check headers: make headers_check
- Check with checkpatch.pl: checkpatch --strict --terse
- Check files touched with Smatch: kchecker drivers/staging/modified.c
- Check with Sparse: make -j9 C=2 M=drivers/staging/foo 2> sparse.out
- Apply and build on clean branch apply-and-build.sh /path/to/patchset/
- Repeat step 6 on a different architecture (or cross-compile).
Is this a fix for another patch? If so add a tag.
Fixes: 7676b72428e8 ("staging: ks7010: move comparison to right hand side")
You can generate the string by doing
git show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n" 7676b72