freebsd-dev/sys/dev/mfi
Justin Hibbits b21fe1ab67 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 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
mfi_ioctl.h
mfi_linux.c
mfi_pci.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
mfi_syspd.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
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