Skip to content

Fix warning for missing export.h in Hyper-V drivers

Naman Jain kvm linux-hyperv linux-pci lkml netdev 1 version Applied

Status from this message: I applied all patches expect the KVM one to hyperv-fixes. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6Drivers: hv: Fix warnings for missing export.h header inclusiondrivers/hv/channel.c drivers/hv/channel_mgmt.c drivers/hv/hv_proc.c +3 more+6 -01 reply
2/6x86/hyperv: Fix warnings for missing export.h header inclusionarch/x86/hyperv/hv_init.c arch/x86/hyperv/irqdomain.c arch/x86/hyperv/ivm.c +1 more+4 -00 replies
3/6KVM: x86: hyper-v: Fix warnings for missing export.h header inclusionarch/x86/kvm/hyperv.c arch/x86/kvm/kvm_onhyperv.c+2 -02 replies
4/6clocksource: hyper-v: Fix warnings for missing export.h header inclusiondrivers/clocksource/hyperv_timer.c+1 -01 reply
5/6PCI: hv: Fix warnings for missing export.h header inclusiondrivers/pci/controller/pci-hyperv-intf.c+1 -00 replies
6/6net: mana: Fix warnings for missing export.h header inclusiondrivers/net/ethernet/microsoft/mana/gdma_main.c drivers/net/ethernet/microsoft/mana/mana_en.c+2 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSaurabh SengarNuno Das NevesDaniel Lezcano
SeriesR-b
1/6R-b
2/6
3/6
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] Fix warning for missing export.h in Hyper-V drivers

When the kernel is compiled with W=1 option, a warning is reported
if a .c file exports a symbol but does not include export.h header
file. This warning was added in below patch, which merged recently:
commit a934a57a42f6 ("scripts/misc-check: check missing #include <linux/export.h> when W=1")

Fix this issue in Hyper-V drivers. This does not bring any functional changes.

The one in drivers/hv/vmbus_drv.c is going to be fixed with
https://lore.kernel.org/all/[email protected]/
so it is not included in this series.

Naman Jain (6):
Drivers: hv: Fix warnings for missing export.h header inclusion x86/hyperv: Fix warnings for missing export.h header inclusion
KVM: x86: hyper-v: Fix warnings for missing export.h header inclusion
clocksource: hyper-v: Fix warnings for missing export.h header
inclusion
PCI: hv: Fix warnings for missing export.h header inclusion
net: mana: Fix warnings for missing export.h header inclusion

 arch/x86/hyperv/hv_init.c                       | 1 +
 arch/x86/hyperv/irqdomain.c                     | 1 +
 arch/x86/hyperv/ivm.c                           | 1 +
 arch/x86/hyperv/nested.c                        | 1 +
 arch/x86/kvm/hyperv.c                           | 1 +
 arch/x86/kvm/kvm_onhyperv.c                     | 1 +
 drivers/clocksource/hyperv_timer.c              | 1 +
 drivers/hv/channel.c                            | 1 +
 drivers/hv/channel_mgmt.c                       | 1 +
 drivers/hv/hv_proc.c                            | 1 +
 drivers/hv/mshv_common.c                        | 1 +
 drivers/hv/mshv_root_hv_call.c                  | 1 +
 drivers/hv/ring_buffer.c                        | 1 +
 drivers/net/ethernet/microsoft/mana/gdma_main.c | 1 +
 drivers/net/ethernet/microsoft/mana/mana_en.c   | 1 +
 drivers/pci/controller/pci-hyperv-intf.c        | 1 +
 16 files changed, 16 insertions(+)

base-commit: 475c850a7fdd0915b856173186d5922899d65686

Signature · 1 line
2.34.1