All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gallissot Mathieu <Gallissot.Mathieu@fronius.com>
To: "jeff.chen_1@nxp.com" <jeff.chen_1@nxp.com>
Cc: "brian.hsu@nxp.com" <brian.hsu@nxp.com>,
	"briannorris@chromium.org" <briannorris@chromium.org>,
	"francesco@dolcini.it" <francesco@dolcini.it>,
	"johannes@sipsolutions.net" <johannes@sipsolutions.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
	"tsung-hsien.hsieh@nxp.com" <tsung-hsien.hsieh@nxp.com>
Subject: Re: [PATCH v4 00/22] wifi: nxpwifi: create nxpwifi to support iw61x
Date: Tue, 22 Jul 2025 13:00:57 +0000	[thread overview]
Message-ID: <cb3be497fa7a45e68d9be6f9b8bc47b5@fronius.com> (raw)

Hi,

I've been try to compile this patch on 6.12.33 (commit id e03ced99c437f4a7992b8fa3d97d598f55453fd0), I've got the following error messages. Which version of kernel does this patch applies?

drivers/net/wireless/nxp/nxpwifi/cmdevt.c:8:10: fatal error: asm/unaligned.h: No such file or directory
    8 | #include <asm/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[7]: *** [scripts/Makefile.build:287: drivers/net/wireless/nxp/nxpwifi/cmdevt.o] Error 1
make[7]: *** Waiting for unfinished jobs....
  CC [M]  drivers/net/wireless/ti/wlcore/scan.o
  CC [M]  drivers/net/wireless/ti/wlcore/sysfs.o
  CC [M]  drivers/net/wireless/rsi/rsi_91x_sdio_ops.o
  CC [M]  drivers/net/wireless/ti/wlcore/vendor_cmd.o
drivers/net/wireless/nxp/nxpwifi/main.c: In function 'nxpwifi_unregister':
drivers/net/wireless/nxp/nxpwifi/main.c:114:9: error: implicit declaration of function 'del_timer_syn'; did you mean 'dev_mc_sync'? [-Werror=implicit-function-declaration]
  114 |         del_timer_sync(&adapter->cmd_timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
  CC [M]  drivers/net/wireless/rsi/rsi_91x_usb.o
drivers/net/wireless/nxp/nxpwifi/main.c: In function 'nxpwifi_main_process':
drivers/net/wireless/nxp/nxpwifi/main.c:274:25: error: implicit declaration of function 'del_timer'; did you mean 'add_timer'? [-Werror=implicit-function-declaration]
  274 |                         del_timer(&adapter->wakeup_timer);
      |                         ^~~~~~~~~
      |                         add_timer
In file included from ./include/linux/export.h:5,
                 from ./include/linux/linkage.h:7,
                 from ./include/linux/preempt.h:10,
                 from ./include/linux/spinlock.h:56,
                 from ./include/linux/swap.h:5,
                 from ./include/linux/suspend.h:5,
                 from drivers/net/wireless/nxp/nxpwifi/main.c:8:
drivers/net/wireless/nxp/nxpwifi/main.c: In function 'nxpwifi_hard_start_xmit':
drivers/net/wireless/nxp/nxpwifi/main.c:838:50: error: 'SKBTX_WIFI_STATUS' undeclared (first use in this function); did you mean 'SOCK_WIFI_STATUS'?
  838 |                      skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS &&
      |                                                  ^~~~~~~~~~~~~~~~~
./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
   77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
drivers/net/wireless/nxp/nxpwifi/main.c:838:50: note: each undeclared identifier is reported only once for each function it appears in
  838 |                      skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS &&
      |                                                  ^~~~~~~~~~~~~~~~~
./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
   77 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
cc1: some warnings being treated as errors
drivers/net/wireless/nxp/nxpwifi/init.c: In function 'wakeup_timer_fn':
drivers/net/wireless/nxp/nxpwifi/init.c:43:43: error: implicit declaration of function 'from_timer'; did you mean 'mod_timer'? [-Werror=implicit-function-declaration]
   43 |         struct nxpwifi_adapter *adapter = from_timer(adapter, t, wakeup_timer);
      |                                           ^~~~~~~~~~
      |                                           mod_timer
drivers/net/wireless/nxp/nxpwifi/init.c:43:66: error: 'wakeup_timer' undeclared (first use in this function); did you mean 'wakeup_timer_fn'?
   43 |         struct nxpwifi_adapter *adapter = from_timer(adapter, t, wakeup_timer);
      |                                                                  ^~~~~~~~~~~~
      |                                                                  wakeup_timer_fn
drivers/net/wireless/nxp/nxpwifi/init.c:43:66: note: each undeclared identifier is reported only once for each function it appears in
make[7]: *** [scripts/Makefile.build:287: drivers/net/wireless/nxp/nxpwifi/main.o] Error 1
drivers/net/wireless/nxp/nxpwifi/init.c: In function 'nxpwifi_adapter_cleanup':
drivers/net/wireless/nxp/nxpwifi/init.c:361:9: error: implicit declaration of function 'del_timer'; did you mean 'add_timer'? [-Werror=implicit-function-declaration]
  361 |         del_timer(&adapter->wakeup_timer);
      |         ^~~~~~~~~
      |         add_timer
  CC [M]  drivers/net/wireless/rsi/rsi_91x_usb_ops.o
  CC [M]  drivers/net/wireless/ti/wlcore/sdio.o
drivers/net/wireless/nxp/nxpwifi/init.c: In function 'nxpwifi_shutdown_drv':
drivers/net/wireless/nxp/nxpwifi/init.c:577:17: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Werror=implicit-function-declaration]
  577 |                 del_timer_sync(&adapter->cmd_timer);
      |                 ^~~~~~~~~~~~~~
      |                 dev_mc_sync
cc1: some warnings being treated as errors

Thanks,
Mathieu

             reply	other threads:[~2025-07-22 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22 13:00 Gallissot Mathieu [this message]
2025-08-20 10:52 ` [EXT] Re: [PATCH v4 00/22] wifi: nxpwifi: create nxpwifi to support iw61x Jeff Chen
  -- strict thread matches above, loose matches on Subject: below --
2025-07-21  6:26 Jeff Chen
2025-07-21 13:25 ` Francesco Dolcini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb3be497fa7a45e68d9be6f9b8bc47b5@fronius.com \
    --to=gallissot.mathieu@fronius.com \
    --cc=brian.hsu@nxp.com \
    --cc=briannorris@chromium.org \
    --cc=francesco@dolcini.it \
    --cc=jeff.chen_1@nxp.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=tsung-hsien.hsieh@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.