summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-04-21 14:23:46 +0000
committerdim <dim@FreeBSD.org>2012-04-21 14:23:46 +0000
commitefe12312b4b1263d96d02aa53fb90be7f11e3ed8 (patch)
treeef097033df6dfde35c00dccff2cd4fc91bc303d5 /sys/cddl
parent968f07e10ac01db703ec17af4873eb7118e5e6c1 (diff)
downloadFreeBSD-src-efe12312b4b1263d96d02aa53fb90be7f11e3ed8.zip
FreeBSD-src-efe12312b4b1263d96d02aa53fb90be7f11e3ed8.tar.gz
Fix the following clang warning in dpt(4):
sys/dev/dpt/dpt_scsi.c:612:18: error: implicit truncation from 'int' to bitfield changes value from -2 to 2 [-Werror,-Wconstant-conversion] dpt->cache_type = DPT_CACHE_WRITEBACK; ^ ~~~~~~~~~~~~~~~~~~~ by defining DPT_CACHE_WRITEBACK as 2, since dpt_softc::cache_type is an unsigned bitfield. No binary change. MFC after: 1 week
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud