]> git.baikalelectronics.ru Git - kernel.git/commit
RxRPC: Error handling for rxrpc_alloc_connection()
authorDan Carpenter <error27@gmail.com>
Thu, 21 May 2009 22:22:02 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2009 22:22:02 +0000 (15:22 -0700)
commitfef538af5a94ec1da188ade6df2c9732c5597c6d
treefc1470042a6c52fbd1332fe12b57105d35fcf9e2
parent60a46e3fcd41efaf0046aeb270a0a7f870bd7aa3
RxRPC: Error handling for rxrpc_alloc_connection()

rxrpc_alloc_connection() doesn't return an error code on failure, it just
returns NULL.  IS_ERR(NULL) is false.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-connection.c