diff mbox series

cfg80211: fix CONFIG_CFG80211_EXTRA_REGDB_KEYDIR typo

Message ID 20220221155512.1d25895f7c5f.I50fa3d4189fcab90a2896fe8cae215035dae9508@changeid (mailing list archive)
State Accepted
Delegated to: Johannes Berg
Headers show
Series cfg80211: fix CONFIG_CFG80211_EXTRA_REGDB_KEYDIR typo | expand

Commit Message

Johannes Berg Feb. 21, 2022, 2:55 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

The kbuild change here accidentally removed not only the
unquoting, but also the last character of the variable
name. Fix that.

Fixes: 129ab0d2d9f3 ("kbuild: do not quote string values in include/config/auto.conf")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 net/wireless/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada Feb. 21, 2022, 3:46 p.m. UTC | #1
On Mon, Feb 21, 2022 at 11:55 PM Johannes Berg
<johannes@sipsolutions.net> wrote:
>
> From: Johannes Berg <johannes.berg@intel.com>
>
> The kbuild change here accidentally removed not only the
> unquoting, but also the last character of the variable
> name. Fix that.
>
> Fixes: 129ab0d2d9f3 ("kbuild: do not quote string values in include/config/auto.conf")
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---

Thanks for catching this!

Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>



>  net/wireless/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/wireless/Makefile b/net/wireless/Makefile
> index 1e9be50469ce..527ae669f6f7 100644
> --- a/net/wireless/Makefile
> +++ b/net/wireless/Makefile
> @@ -33,7 +33,7 @@ $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.hex)
>           echo 'unsigned int shipped_regdb_certs_len = sizeof(shipped_regdb_certs);'; \
>          ) > $@
>
> -$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDI) \
> +$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR) \
>                       $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR)/*.x509)
>         @$(kecho) "  GEN     $@"
>         $(Q)(set -e; \
> --
> 2.35.1
>
diff mbox series

Patch

diff --git a/net/wireless/Makefile b/net/wireless/Makefile
index 1e9be50469ce..527ae669f6f7 100644
--- a/net/wireless/Makefile
+++ b/net/wireless/Makefile
@@ -33,7 +33,7 @@  $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.hex)
 	  echo 'unsigned int shipped_regdb_certs_len = sizeof(shipped_regdb_certs);'; \
 	 ) > $@
 
-$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDI) \
+$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR) \
 		      $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR)/*.x509)
 	@$(kecho) "  GEN     $@"
 	$(Q)(set -e; \