mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
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>
This commit is contained in:
parent
a364c8cf80
commit
ab6baf980b
2 changed files with 2 additions and 2 deletions
|
@ -1885,7 +1885,7 @@ EXPORT_SYMBOL(dcb_getapp);
|
|||
* removes applications from the app list if the priority is
|
||||
* set to zero.
|
||||
*/
|
||||
u8 dcb_setapp(struct net_device *dev, struct dcb_app *new)
|
||||
int dcb_setapp(struct net_device *dev, struct dcb_app *new)
|
||||
{
|
||||
struct dcb_app_type *itr;
|
||||
struct dcb_app_type event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue