freebsd-skq/sys/dev/mfi
jhibbits ce610b77ee Fix a mistaken conditional in mfi_tbolt_send_frame()
As written, the condition of (cdb[0] != 0x28 || cdb[0] != 0x2A) will always
be true, since if it's one, it's obviously not the other.  Reading the code,
the intent appears to be that it should only perform the operation if it's
neither, otherwise the conditional can be elided.

Found by clang 10.
2020-03-06 01:50:15 +00:00
..
mfi_cam.c
mfi_debug.c
mfi_disk.c
mfi_ioctl.h
mfi_linux.c
mfi_pci.c
mfi_syspd.c
mfi_tbolt.c Fix a mistaken conditional in mfi_tbolt_send_frame() 2020-03-06 01:50:15 +00:00
mfi.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
mfireg.h
mfivar.h