]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r3684733:
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 13 Dec 2020 22:42:48 +0000 (22:42 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 13 Dec 2020 22:42:48 +0000 (22:42 +0000)
commit39543d1f4459715351d287eaa78d556012ed3e4e
tree1a02550fae5f5c21013931afc3b411ff820a5169
parentaaab0cc8c78f59fe6efa0c4be42fc4f4fca5b729
MFC r3684733:

dev/mfi: Make a seemingly bogus conditional unconditional

Summary:
r358689 attempted to fix a clang warning/error by inferring the intent
of the condition "(cdb[0] != 0x28 || cdb[0] != 0x2A)".  Unfortunately, it looks
like this broke things.  Instead, fix this by making this path unconditional,
effectively reverting to the previous state.

PR:             kern/251483
sys/dev/mfi/mfi_tbolt.c