From: Jingjing Liu <liujingjing@cdjrlc.com> To: linux@armlinux.org.uk Cc: ira.weiny@intel.com, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jingjing Liu <liujingjing@cdjrlc.com> Subject: [PATCH] mm: change 0 to false in boolean function Date: Wed, 3 Nov 2021 16:54:32 +0800 [thread overview] Message-ID: <20211103085432.49305-1-liujingjing@cdjrlc.com> (raw) return of 0/1 in function 'security_extensions_enabled' with return type bool Signed-off-by: Jingjing Liu <liujingjing@cdjrlc.com> --- arch/arm/mm/nommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 2658f52903da..7256ac159acb 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -56,7 +56,7 @@ static inline bool security_extensions_enabled(void) if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) return cpuid_feature_extract(CPUID_EXT_PFR1, 4) || cpuid_feature_extract(CPUID_EXT_PFR1, 20); - return 0; + return false; } unsigned long setup_vectors_base(void) -- 2.33.1
WARNING: multiple messages have this Message-ID (diff)
From: Jingjing Liu <liujingjing@cdjrlc.com> To: linux@armlinux.org.uk Cc: ira.weiny@intel.com, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jingjing Liu <liujingjing@cdjrlc.com> Subject: [PATCH] mm: change 0 to false in boolean function Date: Wed, 3 Nov 2021 16:54:32 +0800 [thread overview] Message-ID: <20211103085432.49305-1-liujingjing@cdjrlc.com> (raw) return of 0/1 in function 'security_extensions_enabled' with return type bool Signed-off-by: Jingjing Liu <liujingjing@cdjrlc.com> --- arch/arm/mm/nommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 2658f52903da..7256ac159acb 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -56,7 +56,7 @@ static inline bool security_extensions_enabled(void) if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) return cpuid_feature_extract(CPUID_EXT_PFR1, 4) || cpuid_feature_extract(CPUID_EXT_PFR1, 20); - return 0; + return false; } unsigned long setup_vectors_base(void) -- 2.33.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-11-03 8:56 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-03 8:54 Jingjing Liu [this message] 2021-11-03 8:54 ` [PATCH] mm: change 0 to false in boolean function Jingjing Liu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211103085432.49305-1-liujingjing@cdjrlc.com \ --to=liujingjing@cdjrlc.com \ --cc=akpm@linux-foundation.org \ --cc=ira.weiny@intel.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@armlinux.org.uk \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.