summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2017-03-22 07:19:33 +0100
committerMichael Brown2017-03-22 07:25:04 +0100
commite88e2a29657824963c4fdb948e5ac99dfe6472ee (patch)
tree042cfb77175c7b073881b63168b9234505dfa9f8 /src/net
parent[xhci] Avoid accessing beyond end of endpoint context array (diff)
downloadipxe-e88e2a29657824963c4fdb948e5ac99dfe6472ee.tar.gz
ipxe-e88e2a29657824963c4fdb948e5ac99dfe6472ee.tar.xz
ipxe-e88e2a29657824963c4fdb948e5ac99dfe6472ee.zip
[build] Avoid confusing sparse in single-argument DBG() macros
For visual consistency with surrounding lines, the definitions of DBG_MORE(), DBG_PAUSE(), etc include an unnecessary ##__VA_ARGS__ argument which is always elided. This confuses sparse, which complains about DBG_MORE_IF() being called with more than one argument. Work around this problem by adding an unused variable argument list to the single-argument macros DBG_MORE_IF() and DBG_PAUSE_IF(). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions