intel / kernelflinger

BSD 2-Clause "Simplified" License
65 stars 67 forks source link

Refine the code style of tpm2_security.c #36

Closed tanminger closed 5 years ago

tanminger commented 5 years ago

Before refine the code, check with kernel checkpatch.pl: total: 18 errors, 19 warnings, 846 lines checked

After refine the code, check with kernel checkpatch.pl: scripts/checkpatch.pl --terse -f --max-line-length 132 tpm2_security.c tpm2_security.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 tpm2_security.c:57: WARNING: do not add new typedefs total: 0 errors, 2 warnings, 852 lines checked

Tracked-On: OAM-86837 Signed-off-by: Ming Tan ming.tan@intel.com