1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/dev/dpt
Dimitry Andric fb94bf79b3 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
2012-04-21 14:23:46 +00:00
..
dpt_eisa.c
dpt_isa.c
dpt_pci.c Remove comments about creating DMA tags as children of the DMA tags of their 2012-03-12 19:29:32 +00:00
dpt_scsi.c
dpt.h Fix the following clang warning in dpt(4): 2012-04-21 14:23:46 +00:00