]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dcb: fix return type on dcb_setapp()
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 21 Jun 2011 07:34:58 +0000 (07:34 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 08:29:47 +0000 (16:29 +0800)
commit4eee6a1bbd9769acb4a456a9f3f3fe11025417c1
treed63263c8bb4d9c1569f57289c6d08f0bce449fa2
parent6b86908f3aa09a8731561065fa1e472151c29c0d
dcb: fix return type on dcb_setapp()

Incorrect return type on dcb_setapp() this routine
returns negative error codes. All call sites of
dcb_setapp() assign the return value to an int already
so no need to update drivers.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ab6baf980b095c70a56c5eb2f58166aef8a0edc8)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
include/net/dcbnl.h
net/dcb/dcbnl.c