* Re: [PATCH] net: Explicitly include correct DT includes [not found] <20230714174809.4060885-1-robh@kernel.org> @ 2023-07-15 15:11 ` Alex Elder 2023-07-18 9:27 ` Paolo Abeni 0 siblings, 1 reply; 2+ messages in thread From: Alex Elder @ 2023-07-15 15:11 UTC (permalink / raw) To: Rob Herring, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Alex Elder Cc: devicetree, linux-can, netdev, linux-kernel, linux-arm-kernel, linux-sunxi, linux-mediatek, linuxppc-dev, linux-renesas-soc, linux-stm32, linux-amlogic, linux-oxnas, linux-tegra, linux-omap, linux-wpan, ath10k, linux-wireless, ath11k, wcn36xx On 7/14/23 12:48 PM, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each other. They also include platform_device.h > and of.h. As a result, there's a pretty much random mix of those include > files used throughout the tree. In order to detangle these headers and > replace the implicit includes with struct declarations, users need to > explicitly include the correct includes. > > Signed-off-by: Rob Herring <robh@kernel.org> (I significantly reduced the addressee list to permit the message to be sent.) For "drivers/net/ipa/ipa_main.c": Acked-by: Alex Elder <elder@linaro.org> > --- > drivers/net/can/bxcan.c | 1 - > drivers/net/can/ifi_canfd/ifi_canfd.c | 1 - . . . > drivers/net/ieee802154/ca8210.c | 1 - > drivers/net/ipa/ipa_main.c | 2 +- > drivers/net/pcs/pcs-rzn1-miic.c | 1 + > drivers/net/phy/marvell-88x2222.c | 1 - > drivers/net/phy/mediatek-ge-soc.c | 2 -- > drivers/net/wireless/ath/ath10k/ahb.c | 2 +- > drivers/net/wireless/ath/ath11k/qmi.c | 1 - > drivers/net/wireless/ath/wcn36xx/main.c | 3 +-- > drivers/net/wireless/intersil/orinoco/airport.c | 2 +- > drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 - > drivers/net/wireless/silabs/wfx/bus_sdio.c | 2 +- > net/core/of_net.c | 1 + > 124 files changed, 110 insertions(+), 120 deletions(-) . . . > diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c > index 6a2f2fc2f501..da853353a5c7 100644 > --- a/drivers/net/ipa/ipa_main.c > +++ b/drivers/net/ipa/ipa_main.c > @@ -13,8 +13,8 @@ > #include <linux/firmware.h> > #include <linux/module.h> > #include <linux/of.h> > -#include <linux/of_device.h> > #include <linux/of_address.h> > +#include <linux/platform_device.h> > #include <linux/pm_runtime.h> > #include <linux/firmware/qcom/qcom_scm.h> > #include <linux/soc/qcom/mdt_loader.h> . . . _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: Explicitly include correct DT includes 2023-07-15 15:11 ` [PATCH] net: Explicitly include correct DT includes Alex Elder @ 2023-07-18 9:27 ` Paolo Abeni 0 siblings, 0 replies; 2+ messages in thread From: Paolo Abeni @ 2023-07-18 9:27 UTC (permalink / raw) To: Alex Elder, Rob Herring, David S. Miller, Eric Dumazet, Jakub Kicinski, Alex Elder Cc: devicetree, linux-can, netdev, linux-kernel, linux-arm-kernel, linux-sunxi, linux-mediatek, linuxppc-dev, linux-renesas-soc, linux-stm32, linux-amlogic, linux-oxnas, linux-tegra, linux-omap, linux-wpan, ath10k, linux-wireless, ath11k, wcn36xx Hi, On Sat, 2023-07-15 at 10:11 -0500, Alex Elder wrote: > On 7/14/23 12:48 PM, Rob Herring wrote: > > The DT of_device.h and of_platform.h date back to the separate > > of_platform_bus_type before it as merged into the regular platform bus. > > As part of that merge prepping Arm DT support 13 years ago, they > > "temporarily" include each other. They also include platform_device.h > > and of.h. As a result, there's a pretty much random mix of those include > > files used throughout the tree. In order to detangle these headers and > > replace the implicit includes with struct declarations, users need to > > explicitly include the correct includes. > > > > Signed-off-by: Rob Herring <robh@kernel.org> > > (I significantly reduced the addressee list to permit the message > to be sent.) > > For "drivers/net/ipa/ipa_main.c": > > Acked-by: Alex Elder <elder@linaro.org> The patch does not apply cleanly to net-next. Rob, could you please re- spin it? While at that, have you considered splitting it in a few smaller patches (e.g. can, dsa, freescale, ibm, marvel, mediatek, stmmicro, sun, ti, xilinx, wireless, remaining)? Thanks! Paolo _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-19 5:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230714174809.4060885-1-robh@kernel.org>
2023-07-15 15:11 ` [PATCH] net: Explicitly include correct DT includes Alex Elder
2023-07-18 9:27 ` Paolo Abeni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®