Lines Matching defs:kconfig
11 #define pr_expected_config(kconfig) \
13 if (IS_ENABLED(kconfig)) \
14 pr_err("Unexpected! This %s was built with " #kconfig "=y\n", \
17 pr_warn("This is probably expected, since this %s was built *without* " #kconfig "=y\n", \
23 #define pr_expected_config_param(kconfig, param) \
25 if (IS_ENABLED(kconfig)) { \
28 pr_warn("This is probably expected, since this %s was built with " #kconfig "=y but booted with '" param "=N'\n", \
32 pr_err("Unexpected! This %s was built with " #kconfig "=y and booted with '" param "=Y'\n", \
36 pr_err("Unexpected! This %s was built with " #kconfig "=y (and booted without '" param "' specified)\n", \
42 pr_warn("This is probably expected, as this %s was built *without* " #kconfig "=y and booted with '" param "=N'\n", \
46 pr_err("Unexpected! This %s was built *without* " #kconfig "=y but booted with '" param "=Y'\n", \
50 pr_err("This is probably expected, since this %s was built *without* " #kconfig "=y (and booted without '" param "' specified)\n", \
57 #define pr_expected_config_param(kconfig, param) pr_expected_config(kconfig)