]> git.baikalelectronics.ru Git - kernel.git/commit
af_llc: fix types on llc_ui_wait_for_conn
authorOne Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Mon, 15 Feb 2016 19:41:51 +0000 (19:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 21:12:13 +0000 (16:12 -0500)
commit949b440bf74e1f91a463927adfe223d0b5a189fa
tree577d858393f95d194e9d14a95624a008677d4ff8
parenta6dbb70f02919de3804df8959c719a1f2f2b5402
af_llc: fix types on llc_ui_wait_for_conn

The timeout is a long, we return it truncated if it is huge. Basically
harmless as the only caller does a boolean check, but tidy it up anyway.

(64bit build tested this time. Thank you 0day)

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c