Subject: linux-next: build failure after merge of the net-next tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 28 Nov 2022 10:15:04 +1100

Hi all,

After merging the net-next tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_cmdline_opt':
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:7591:28: error: too many arguments to function 'sysfs_streq'
 7591 |                 } else if (sysfs_streq(opt, "pause:", 6)) {
      |                            ^~~~~~~~~~~
In file included from include/linux/bitmap.h:11,
                 from include/linux/cpumask.h:12,
                 from include/linux/smp.h:13,
                 from include/linux/lockdep.h:14,
                 from include/linux/mutex.h:17,
                 from include/linux/notifier.h:14,
                 from include/linux/clk.h:14,
                 from drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:17:
include/linux/string.h:185:13: note: declared here
  185 | extern bool sysfs_streq(const char *s1, const char *s2);
      |             ^~~~~~~~~~~

Caused by commit

  f72cd76b05ea ("net: stmmac: use sysfs_streq() instead of strncmp()")

I have used the net-next tree from next-20221125 for today.

-- 
Cheers,
Stephen Rothwell