]> git.baikalelectronics.ru Git - kernel.git/commit
atm: Replace custom isprint() with generic analogue
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 14:49:09 +0000 (17:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:51:01 +0000 (14:51 -0700)
commite3e9f4691fe9380758269669e2ca5f3d033365b6
treeb680c15e0a70ad194dfdd38142c924e36dd16701
parent909971254022440f46fb84d700579b55be4386e9
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>
drivers/atm/iphase.c
drivers/atm/iphase.h