diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 10:22:47 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-23 02:29:40 +0200 |
commit | 1168386aa7d850ead2ae135d5a7949a592c6e9a0 (patch) | |
tree | 9b36c2220df778fa74af93befb641c0569a5e862 /include/pcmcia | |
parent | pcmcia: deprecate unused CS_ error codes (diff) | |
download | linux-1168386aa7d850ead2ae135d5a7949a592c6e9a0.tar.xz linux-1168386aa7d850ead2ae135d5a7949a592c6e9a0.zip |
pcmcia: deprecate CS_OUT_OF_RESOURCE
CS_OUT_OF_RESOURCE was almost only used to note -ENOMEM situations.
Therefore, use -ENOMEM explicitely, and also print out warnings.
CC: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index 695baf6cf1fd..9e6916c1fa81 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h @@ -316,7 +316,7 @@ typedef struct error_info_t { #define CS_CONFIGURATION_LOCKED 0x1d #define CS_IN_USE 0x1e #define CS_NO_MORE_ITEMS 0x1f -#define CS_OUT_OF_RESOURCE 0x20 +#define CS_OUT_OF_RESOURCE -ENOMEM #define CS_BAD_HANDLE 0x21 #define CS_BAD_TUPLE 0x40 |