diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-05-10 17:49:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-10 14:51:01 -0700 |
commit | 532062b099563cba7a93bd9bd50554948661f013 (patch) | |
tree | b680c15e0a70ad194dfdd38142c924e36dd16701 /drivers/atm/iphase.h | |
parent | aed6864035b1e51ba16323b54aa3e4861c1a0a3e (diff) |
atm: Replace custom isprint() with generic analogue
Custom isprint() definition may collide with one form ctype.h.
In order to avoid this, replace it with a functional analogue
which is isascii() && isprint() in this case.
First appearance of the code is in the commit 636b38438001
("Import 2.3.43").
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/iphase.h')
-rw-r--r-- | drivers/atm/iphase.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/atm/iphase.h b/drivers/atm/iphase.h index 2beacf2fc1ec..2f5f8875cbd1 100644 --- a/drivers/atm/iphase.h +++ b/drivers/atm/iphase.h @@ -124,7 +124,6 @@ #define IF_RXPKT(A) #endif /* CONFIG_ATM_IA_DEBUG */ -#define isprint(a) ((a >=' ')&&(a <= '~')) #define ATM_DESC(skb) (skb->protocol) #define IA_SKB_STATE(skb) (skb->protocol) #define IA_DLED 1 |