diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 04:22:47 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:40 -0400 |
commit | 1168386aa7d850ead2ae135d5a7949a592c6e9a0 (patch) | |
tree | 9b36c2220df778fa74af93befb641c0569a5e862 /include/pcmcia/cs.h | |
parent | 5ff87db6792844ae24cc784512a95e0c94521b19 (diff) |
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/cs.h')
-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 { | |||
316 | #define CS_CONFIGURATION_LOCKED 0x1d | 316 | #define CS_CONFIGURATION_LOCKED 0x1d |
317 | #define CS_IN_USE 0x1e | 317 | #define CS_IN_USE 0x1e |
318 | #define CS_NO_MORE_ITEMS 0x1f | 318 | #define CS_NO_MORE_ITEMS 0x1f |
319 | #define CS_OUT_OF_RESOURCE 0x20 | 319 | #define CS_OUT_OF_RESOURCE -ENOMEM |
320 | #define CS_BAD_HANDLE 0x21 | 320 | #define CS_BAD_HANDLE 0x21 |
321 | 321 | ||
322 | #define CS_BAD_TUPLE 0x40 | 322 | #define CS_BAD_TUPLE 0x40 |