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)
commit5fc05f8764f301138003ff562a31ad3721f1675f
tree7c5a3d9179ce0fc23829302149aaa1d2e1d1a4ab
parent21afc27c9f9ae1f6370c47b323be7f3b75106569
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