Shannon Nelson
2023-Jul-06 23:17 UTC
[PATCH virtio] 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. Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9 at infradead.org/ Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC") Signed-off-by: Shannon Nelson <shannon.nelson at amd.com> --- drivers/vdpa/pds/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/vdpa/pds/Makefile b/drivers/vdpa/pds/Makefile index 2e22418e3ab3..c2d314d4614d 100644 --- a/drivers/vdpa/pds/Makefile +++ b/drivers/vdpa/pds/Makefile @@ -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
Randy Dunlap
2023-Jul-06 23:26 UTC
[PATCH virtio] pds_vdpa: protect Makefile from unconfigured debugfs
On 7/6/23 16:17, Shannon Nelson wrote:> 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. > > Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9 at infradead.org/ > Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC") > Signed-off-by: Shannon Nelson <shannon.nelson at amd.com>Reviewed-by: Randy Dunlap <rdunlap at infradead.org> Tested-by: Randy Dunlap <rdunlap at infradead.org> # build-tested Thanks.> --- > drivers/vdpa/pds/Makefile | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vdpa/pds/Makefile b/drivers/vdpa/pds/Makefile > index 2e22418e3ab3..c2d314d4614d 100644 > --- a/drivers/vdpa/pds/Makefile > +++ b/drivers/vdpa/pds/Makefile > @@ -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-- ~Randy
Jason Wang
2023-Jul-10 03:16 UTC
[PATCH virtio] pds_vdpa: protect Makefile from unconfigured debugfs
On Fri, Jul 7, 2023 at 7:17?AM Shannon Nelson <shannon.nelson at amd.com> wrote:> > 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. > > Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9 at infradead.org/ > Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC") > Signed-off-by: Shannon Nelson <shannon.nelson at amd.com>Acked-by: Jason Wang <jasowang at redhat.com> Thanks> --- > drivers/vdpa/pds/Makefile | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vdpa/pds/Makefile b/drivers/vdpa/pds/Makefile > index 2e22418e3ab3..c2d314d4614d 100644 > --- a/drivers/vdpa/pds/Makefile > +++ b/drivers/vdpa/pds/Makefile > @@ -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 >
Maybe Matching Threads
- [PATCH RFC v2 virtio 2/7] pds_vdpa: get vdpa management info
- [PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
- [PATCH virtio 0/4] pds_vdpa: mac, reset, and irq updates
- [PATCH virtio 1/4] pds_vdpa: reset to vdpa specified mac
- [PATCH v3 virtio 8/8] pds_vdpa: pds_vdps.rst and Kconfig