Re: [PATCH 03/33] Staging: gdm724x: use match_string() helper

Andy Shevchenko
2018-05-21T21:35:08Z

On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie <xieyisheng1@huawei.com> wrote:
> match_string() returns the index of an array for a matching string,
> which can be used intead of open coded variant.

> + ret = match_string((const char **)DRIVER_STRING,
> + TTY_MAX_COUNT, tty->driver->driver_name);

It looks like DRIVER_STRING should be converted to const * const.

--
With Best Regards,
Andy Shevchenko