Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Sun, 11 Jun 2017 10:57:25 +0200 | Subject | Re: [PATCH v1] misc: apds990x: Use sysfs_match_string() helper |
| |
On Sun, Jun 11, 2017 at 9:47 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote: > On Fri, Jun 09, 2017 at 03:07:58PM +0300, Andy Shevchenko wrote: >> Use sysfs_match_string() helper instead of open coded variant. >> >> Cc: Arnd Bergmann <arnd@arndb.de> >> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> >> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> >> --- >> drivers/misc/apds990x.c | 12 ++++++------ >> 1 file changed, 6 insertions(+), 6 deletions(-) > > kbuild is failing :(
reporting_modes[] is not an array of string pointers, but an array of 9-byte arrays. Converting it to an array of pointers should fix this.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |