Missing dependency on CONFIG_GLOB in camera Kconfig (L4T 32.1)

Don’t know if this is the correct place to report this, but anyway…

I tried to slim down my L4T 32.1 kernel.

I ran into trouble when disabling ATA.
sensor_kernel_test_runner.c refers to glob_match(), and after disabling ATA that is no longer available.

I added a “select GLOB” in Kconfig under “config VIDEO_CAMERA”, that solved the problem.

/Regards,
Magnus

You may have the sensor_kernel_test_runner.c to include the glob_match() from the include/linux/glob.h

https://elixir.bootlin.com/linux/v4.7/ident/glob_match