]> git.baikalelectronics.ru Git - kernel.git/commit
hdlx_x25: Fix backwards compat test.
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 11:02:25 +0000 (12:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 11:02:25 +0000 (12:02 +0100)
commit8aba55965438586deeb62fd1d76d18616acbbbdf
treeec22d86857832e691bae7b9cd675a9ce7961db8c
parent5400a7812db691ba802ed4cc9e63653eb006c0fb
hdlx_x25: Fix backwards compat test.

drivers/net/wan/hdlc_x25.c: In function ‘x25_ioctl’:
drivers/net/wan/hdlc_x25.c:256:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  256 |   if (ifr->ifr_settings.size = 0) {
      |       ^~~

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_x25.c