Re: [PATCH 3/3 v4] virtio: vdpa: new SolidNET DPU driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/22 09:56, Alvaro Karsz wrote:
Even better would be a separate CONFIG_SNET_VDPA_HWMON Kconfig option.

I prefer to wrap everything with a single Kconfig option.

depends on HWMON || HWMON=n

Are you referring here to CONFIG_SNET_VDPA, or to the
CONFIG_SNET_VDPA_HWMON you suggested?

Either

Because if this refers to CONFIG_SNET_VDPA, HWMON=m  will block the driver.


No, it won't. It would force SNET_VDPA to be built as module if HWMON
is built as module. Then you would not need IS_REACHABLE but could use
IS_ENABLED instead.

Guenter




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux