]> git.baikalelectronics.ru Git - kernel.git/commit
netpoll: warn when there are spaces in parameters
authorAmerigo Wang <amwang@redhat.com>
Sun, 21 Mar 2010 22:59:58 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2010 03:05:45 +0000 (20:05 -0700)
commit75b1686ef8f74d45850c1b1ec36e7f40959dd114
tree7c5a3d9179ce0fc23829302149aaa1d2e1d1a4ab
parent6bdc65bbe95b150573eb96939b1b7243b6721875
netpoll: warn when there are spaces in parameters

v2: update according to Frans' comments.

Currently, if we leave spaces before dst port,
netconsole will silently accept it as 0. Warn about this.

Also, when spaces appear in other places, make them
visible in error messages.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: David Miller <davem@davemloft.net>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c