|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
| #
f6d5b31f |
| 01-Feb-2020 |
Dimitry Andric <[email protected]> |
Revert r357349, since the clang 10.0.0 warning was actually correct, and the ! operator should have been a ~ instead:
Merge r357348 from the clang 10.0.0 import branch:
Disable new clang 10.0.0
Revert r357349, since the clang 10.0.0 warning was actually correct, and the ! operator should have been a ~ instead:
Merge r357348 from the clang 10.0.0 import branch:
Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4):
sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mean '(1 << (0)) != 0'? [-Werror,-Wint-in-bool-context] WR4(sc, TPM_CRB_CTRL_CANCEL, !TPM_CRB_CTRL_CANCEL_CMD); ^ sys/dev/tpm/tpm_crb.c:73:34: note: expanded from macro 'TPM_CRB_CTRL_CANCEL_CMD' #define TPM_CRB_CTRL_CANCEL_CMD BIT(0) ^ sys/dev/tpm/tpm20.h:60:19: note: expanded from macro 'BIT' #define BIT(x) (1 << (x)) ^
Such warnings can be useful in C++ contexts, but not so much in kernel drivers, where this type of bit twiddling is commonplace. So disable it for this case.
Noticed by: cem MFC after: 3 days
show more ...
|
| #
0a51af91 |
| 31-Jan-2020 |
Dimitry Andric <[email protected]> |
Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4):
sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mea
Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4):
sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mean '(1 << (0)) != 0'? [-Werror,-Wint-in-bool-context] WR4(sc, TPM_CRB_CTRL_CANCEL, !TPM_CRB_CTRL_CANCEL_CMD); ^ sys/dev/tpm/tpm_crb.c:73:34: note: expanded from macro 'TPM_CRB_CTRL_CANCEL_CMD' #define TPM_CRB_CTRL_CANCEL_CMD BIT(0) ^ sys/dev/tpm/tpm20.h:60:19: note: expanded from macro 'BIT' #define BIT(x) (1 << (x)) ^
Such warnings can be useful in C++ contexts, but not so much in kernel drivers, where this type of bit twiddling is commonplace. So disable it for this case.
MFC after: 3 days
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0 |
|
| #
dac21b8d |
| 28-Mar-2019 |
Li-Wen Hsu <[email protected]> |
Fix `make` in sys/modules
Sponsored by: The FreeBSD Foundation
|
| #
11721f66 |
| 19-Dec-2018 |
Marcin Wojtas <[email protected]> |
Include the new TPM 2.0 driver in the TPM module.
Update the appropriate Makefile to build the new driver together with the old one.
Submitted by: Kornel Duleba <[email protected]> Reported by: k
Include the new TPM 2.0 driver in the TPM module.
Update the appropriate Makefile to build the new driver together with the old one.
Submitted by: Kornel Duleba <[email protected]> Reported by: kib Obtained from: Semihalf Sponsored by: Stormshield
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
f8645c90 |
| 13-Aug-2010 |
Takanori Watanabe <[email protected]> |
Hook tpm.4 manual to build.
|
| #
97f24f66 |
| 12-Aug-2010 |
Takanori Watanabe <[email protected]> |
Add tpm(4) driver for Trusted Platform Module. You may want to look at http://bsssd.sourceforge.net/ .
Submitted by: Hans-Joerg Hoexer <[email protected]>
|