[PATCH 00/24] ath6kl cleaned up driver

Johannes Berg johannes at sipsolutions.net
Wed Jul 13 09:28:44 UTC 2011


On Wed, 2011-07-13 at 12:22 +0300, Dan Carpenter wrote:

> warn: returning -1 instead of -ENOMEM is sloppy

out of curiosity -- why does it say "instead of -ENOMEM"? -1 really gets
interpreted as "-EPERM" (since EPERM == 1)

johannes




More information about the devel mailing list