Messages in this thread | | | Subject | Re: [PATCH] mm/gup_benchmark: GUP_BENCHMARK depends on DEBUG_FS | From | John Hubbard <> | Date | Sat, 7 Nov 2020 20:55:59 -0800 |
| |
On 11/7/20 8:11 PM, Randy Dunlap wrote: ... > Look at kconfig-language.rst instead.
aha, yes.
> > One thing that could be done (and is done in a few places for other reasons) is to add > a Kconfig comment if DEBUG_FS is not enabled: > > comment "GUP_TEST needs to have DEBUG_FS enabled" > depends on !GUP_TEST && !DEBUG_FS >
Sweet--I just applied that here, and it does exactly what I wanted: puts a nice clear message on the "make menuconfig" screen. No more hidden item. Brilliant!
Let's go with that, shall we?
thanks, -- John Hubbard NVIDIA
| |