aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2018-07-23 22:12:33 +0800
committerDavid S. Miller <[email protected]>2018-07-23 11:07:10 -0700
commitfd800f646402c0f85547166b59ca065175928b7b (patch)
tree7741e9fec3b190b5c5db6622988fd4169856dbe2 /lib/netdev-notifier-error-inject.c
parent6a525818b135d72f3706b5114174e5215c217054 (diff)
wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc
qe_muram_alloc return a unsigned long integer,which should not compared with zero. check it using IS_ERR_VALUE() to fix this. Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC") Signed-off-by: YueHaibing <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions