mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
I'm not entirely sure what happens in the case of a valid port, at best it'll be silently ignored. This patch ensures that the port values are unsigned short values, and thus always valid. This is a second take at fixing this problem, it is simpler and arguably more correct than the previous approach that was committed as3f5af5b353. Prior to this patch a patch that reverses3f5af5b353was sent. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>