]> git.baikalelectronics.ru Git - kernel.git/commit
net: vxge: fix wrong __VA_ARGS__ usage
authorZheng Wei <wei.zheng@vivo.com>
Mon, 16 Mar 2020 14:23:47 +0000 (22:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2020 22:03:59 +0000 (15:03 -0700)
commit1779410c81d645d0bf056d8eec884e364c6679ac
treee447f84389ea099a4e86d88b3f2fafc2d7f66dcf
parent517432e8af12f88639b64e127d84a71003bbd2e1
net: vxge: fix wrong __VA_ARGS__ usage

printk in macro vxge_debug_ll uses __VA_ARGS__ without "##" prefix,
it causes a build error when there is no variable
arguments(e.g. only fmt is specified.).

Signed-off-by: Zheng Wei <wei.zheng@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-config.h
drivers/net/ethernet/neterion/vxge/vxge-main.h