Skip to content

Commit e7909ad

Browse files
Jeff Johnsonmstsirkin
authored andcommitted
vDPA: add missing MODULE_DESCRIPTION() macros
With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/vdpa.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/ifcvf/ifcvf.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent ab0727f commit e7909ad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/vdpa/ifcvf/ifcvf_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,4 +894,5 @@ static struct pci_driver ifcvf_driver = {
894894

895895
module_pci_driver(ifcvf_driver);
896896

897+
MODULE_DESCRIPTION("Intel IFC VF NIC driver for virtio dataplane offloading");
897898
MODULE_LICENSE("GPL v2");

drivers/vdpa/vdpa.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,4 +1538,5 @@ core_initcall(vdpa_init);
15381538
module_exit(vdpa_exit);
15391539

15401540
MODULE_AUTHOR("Jason Wang <[email protected]>");
1541+
MODULE_DESCRIPTION("vDPA bus");
15411542
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)