pds_vdpa: protect Makefile from unconfigured debugfs
Subsystems (5)
PATCH 1/1 pds_vdpa: protect Makefile from unconfigured debugfs
debugfs.h protects itself from an undefined DEBUG_FS, so it is not necessary to check it in the driver code or the Makefile. The driver code had been updated for this, but the Makefile had missed the update.
Fixes a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC")
Signed-off-by Shannon Nelson <[email protected]>
--- drivers/vdpa/pds/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/vdpa/pds/Makefile +1 -2
@@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o pds_vdpa-y := aux_drv.o \ cmds.o \ + debugfs.o \ vdpa_dev.o - -pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o
Signature · 1 line
2.17.1
Quoted 8 lines · Shannon Nelson
debugfs.hprotects itself from an undefinedDEBUG_FS, so it is not necessary to check it in the driver code or theMakefile. The driver code had been updated for this, but theMakefilehad missed the update.Fixes a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC")Signed-off-by Shannon Nelson <[email protected]>
Reviewed-by Randy Dunlap <[email protected]>
Thanks.
Quoted 16 lines
--- drivers/vdpa/pds/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/vdpa/pds/Makefile +1
-2@@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o pds_vdpa-y := aux_drv.o \ cmds.o \ + debugfs.o \ vdpa_dev.o - -pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o
Signature · 1 line
~Randy
Quoted 9 lines · Shannon Nelson
debugfs.hprotects itself from an undefinedDEBUG_FS, so it is not necessary to check it in the driver code or theMakefile. The driver code had been updated for this, but theMakefilehad missed the update.Fixes a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC")Signed-off-by Shannon Nelson <[email protected]>
Acked-by Jason Wang <[email protected]>
Thanks
Quoted 19 lines
--- drivers/vdpa/pds/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/vdpa/pds/Makefile +1
-3@@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o pds_vdpa-y := aux_drv.o \ cmds.o \ + debugfs.o \ vdpa_dev.o - -pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o --2.17.1