]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvmf_tcp: Correct tests for PDU direction
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 6 May 2024 20:33:54 +0000 (13:33 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 6 May 2024 21:03:48 +0000 (14:03 -0700)
commita7db82cfd940431037e748280825931a46ed2d12
tree4aee56c84b12945821ca16c2fe7fe1d36ca85674
parente75a79f40b9ddab672635a9c8a824bcdb3d8a33b
nvmf_tcp: Correct tests for PDU direction

Add parentheses to ensure the correct order of operations.

Reported by: GCC
lib/libnvmf/nvmf_tcp.c
sys/dev/nvmf/nvmf_tcp.h