On 1 Oct 2017, at 19:11, Ian Lepore <i...@freebsd.org> wrote: > > On Sun, 2017-10-01 at 16:11 +0000, Andriy Gapon wrote: >> Author: avg >> Date: Sun Oct 1 16:11:07 2017 >> New Revision: 324163 >> URL: https://svnweb.freebsd.org/changeset/base/324163 >> >> Log: >> MFV r323530,r323533,r323534: 7431 ZFS Channel Programs, and >> followups >> > > Powerpc and sparc builds are dying on: > > src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstrlib.c:870: > warning: comparison is always true due to limited range of data type > > "(unsigned char)anything >= 0" is also always true on clang, so I'm not > sure why it doesn't warn too.
We've been using the clang-specific flag -Wno-error-tautological-compare since some time, so it warns, but doesn't error out on it. Fixing all the occurrences in the kernel was too disruptive at the time. -Dimitry
signature.asc
Description: Message signed with OpenPGP