From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: vkoul@kernel.org
Cc: kishon@ti.com, sfr@canb.auug.org.au,
linux-kernel@vger.kernel.org, linux-next@vger.kernel.org
Subject: [PATCH 0/3] phy: ralink: phy-mt7621-pci: some fixes for COMPILE_TEST
Date: Tue, 1 Dec 2020 11:16:09 +0100 [thread overview]
Message-ID: <20201201101612.28458-1-sergio.paracuellos@gmail.com> (raw)
Hi Vinod,
After merging the phy-next tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/phy/ralink/phy-mt7621-pci.c:17:10: fatal error: mt7621.h: No such file or directory
17 | #include <mt7621.h>
| ^~~~~~~~~~
This driver has two includes which are in
"arch/mips/include/asm/mach-ralink" and are directly included in the
driver:
* mt7621.h
* ralink_regs.h
This is because this path is directly included in 'arch/mips/ralink/Platform'
for "ralink".
Adding the include search path to the phy ralink directory fix the problem.
Making 'allmodconfig' in x86_64 also showed two warnings for this driver
because of pointer size and not valid name for MODULE_DEVICE_TABLE ids.
This two have been also fixed and included in this series.
Best regards,
Sergio Paracuellos
Sergio Paracuellos (3):
phy: ralink: phy-mt7621-pci: add include search path in Makefile
phy: ralink: phy-mt7621-pci: avoid warning if COMPILE_TEST is enabled
phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE
macro
drivers/phy/ralink/Makefile | 3 +++
drivers/phy/ralink/phy-mt7621-pci.c | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
--
2.25.1
next reply other threads:[~2020-12-01 10:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 10:16 Sergio Paracuellos [this message]
2020-12-01 10:16 ` [PATCH 1/3] phy: ralink: phy-mt7621-pci: add include search path in Makefile Sergio Paracuellos
2020-12-01 10:42 ` Vinod Koul
2020-12-01 10:47 ` Sergio Paracuellos
2020-12-01 11:02 ` Vinod Koul
2020-12-01 11:04 ` Sergio Paracuellos
2020-12-01 10:16 ` [PATCH 2/3] phy: ralink: phy-mt7621-pci: avoid warning if COMPILE_TEST is enabled Sergio Paracuellos
2020-12-01 10:16 ` [PATCH 3/3] phy: ralink: phy-mt7621-pci: set correct name in MODULE_DEVICE_TABLE macro Sergio Paracuellos
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=20201201101612.28458-1-sergio.paracuellos@gmail.com \
--to=sergio.paracuellos@gmail.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=vkoul@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).