Skip to content
Commit 21e26ff9 authored by Tillmann Heidsieck's avatar Tillmann Heidsieck Committed by David S. Miller
Browse files

atm: iphase: return -ENOMEM instead of -1 in case of failed kmalloc()



Smatch complains about returning hard coded error codes, silence this
warning.

drivers/atm/iphase.c:115 ia_enque_rtn_q() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: default avatarTillmann Heidsieck <theidsieck@leenox.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c5b83f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment