1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys
Dimitry Andric 0a51af9191 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
2020-01-31 19:35:21 +00:00
..
amd64 amd64: revamp memcmp 2020-01-28 17:48:17 +00:00
arm Create a convenince wrapper to fill in a CAM_PATH_INQ request for MMC sims. Pass 2020-01-27 22:19:55 +00:00
arm64 Enable USB3 support for Rockchip RK3328 SoC. 2020-01-29 09:36:59 +00:00
bsm
cam Fix spelling of removable 2020-01-29 00:28:50 +00:00
cddl Map ECKSUM and EFRAGS from ZFS onto real errnos. 2020-01-13 22:06:16 +00:00
compat Add TCP_CORK support to linux(4). This fixes one of the things Nginx 2020-01-28 13:57:24 +00:00
conf Disable new clang 10.0.0 warnings about converting the result of shift 2020-01-31 19:35:21 +00:00
contrib MFV: r356607 2020-01-10 22:49:14 +00:00
crypto
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev Add driver for Xilinx XDMA PCIe Bridge found in the U.S. Government 2020-01-29 16:52:12 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs Save lower root vnode in nullfs mnt data instead of upper. 2020-01-28 11:29:06 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Fix aggregating geoms for BIO_SPEEDUP. 2020-01-27 13:15:16 +00:00
gnu
i386 Fix 64-bit syscall argument fetching in 32-bit Linux syscall handlers. 2020-01-21 17:28:22 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern hwpstate_intel(4): Silence/fix Coverity reports 2020-01-29 03:15:34 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
modules Disable new clang 10.0.0 warnings about converting the result of shift 2020-01-31 19:35:21 +00:00
net Plug parent iface refcount leak on <ifname>.X vlan creation. 2020-01-29 18:41:35 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph ng_nat: Pass IPv6 packets through. 2020-01-23 16:45:48 +00:00
netinet Fix build issues for the userland stack on 32-bit platforms. 2020-01-28 10:09:05 +00:00
netinet6 Enter network epoch when calling in_pcbconnect() for IPv6 mapped to IPv4 2020-01-22 17:06:55 +00:00
netipsec
netpfil pf: Apply kif flags to new group members 2020-01-23 22:13:41 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc [PPC64] Fix NUMA on POWER8 2020-01-29 18:13:44 +00:00
riscv Fix definition of SSTATUS_SD 2020-01-29 15:50:48 +00:00
rpc
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sparc64 sparc64: Busy the TSB page before freeing it in pmap_release(). 2020-01-23 17:18:58 +00:00
sys vfs: add VNPASS macro and augment VNASSERT to print more about the assert 2020-01-29 01:51:21 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs ufs: add vgone calls for unconstructed vnodes in the error path 2020-01-26 00:38:06 +00:00
vm Restore OOM logic on page fault after r357026. 2020-01-29 12:02:47 +00:00
x86 hwpstate_intel(4): Silence/fix Coverity reports 2020-01-29 03:15:34 +00:00
xdr
xen
Makefile