mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: [email protected] Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
5ff87db679
commit
1168386aa7
5 changed files with 50 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue