Re: [PATCH v4 21/21] sparc64: use match_string() helper

2018-06-20 Thread Andy Shevchenko
On Thu, Jun 21, 2018 at 4:39 AM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. > > As Andy's suggestion, this patch add string literal instead of NULL > for crypto in array of hwcaps and make an additiona

[PATCH v4 21/21] sparc64: use match_string() helper

2018-06-20 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. As Andy's suggestion, this patch add string literal instead of NULL for crypto in array of hwcaps and make an additional condition after match_string() in all users of it. Cc: "Dav