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)
commit532062b099563cba7a93bd9bd50554948661f013
treeb680c15e0a70ad194dfdd38142c924e36dd16701
parentaed6864035b1e51ba16323b54aa3e4861c1a0a3e
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