linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: ccree: add missing inline qualifier
@ 2019-02-11 14:27 Gilad Ben-Yossef
  2019-02-18  8:48 ` Geert Uytterhoeven
  2019-02-22 11:54 ` Herbert Xu
  0 siblings, 2 replies; 4+ messages in thread
From: Gilad Ben-Yossef @ 2019-02-11 14:27 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller; +Cc: Ofir Drag, stable, linux-crypto, linux-kernel

Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
was missing a "inline" qualifier for stub function used when CONFIG_PM
is not set causing a build warning.

Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
Cc: stable@kernel.org # v4.20
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 drivers/crypto/ccree/cc_pm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ccree/cc_pm.h b/drivers/crypto/ccree/cc_pm.h
index f62624357020..907a6db4d6c0 100644
--- a/drivers/crypto/ccree/cc_pm.h
+++ b/drivers/crypto/ccree/cc_pm.h
@@ -30,7 +30,7 @@ static inline int cc_pm_init(struct cc_drvdata *drvdata)
 	return 0;
 }
 
-static void cc_pm_go(struct cc_drvdata *drvdata) {}
+static inline void cc_pm_go(struct cc_drvdata *drvdata) {}
 
 static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto: ccree: add missing inline qualifier
  2019-02-11 14:27 [PATCH] crypto: ccree: add missing inline qualifier Gilad Ben-Yossef
@ 2019-02-18  8:48 ` Geert Uytterhoeven
  2019-02-18 11:57   ` Gilad Ben-Yossef
  2019-02-22 11:54 ` Herbert Xu
  1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2019-02-18  8:48 UTC (permalink / raw)
  To: Gilad Ben-Yossef
  Cc: Herbert Xu, David S. Miller, Ofir Drag, stable,
	Linux Crypto Mailing List, Linux Kernel Mailing List

On Mon, Feb 11, 2019 at 3:29 PM Gilad Ben-Yossef <gilad@benyossef.com> wrote:
> Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> was missing a "inline" qualifier for stub function used when CONFIG_PM
> is not set causing a build warning.
>
> Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> Cc: stable@kernel.org # v4.20

# v5.0

However, I believe the version comment is not necessary, as the same
version is indicated by the Fixes tag.

> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto: ccree: add missing inline qualifier
  2019-02-18  8:48 ` Geert Uytterhoeven
@ 2019-02-18 11:57   ` Gilad Ben-Yossef
  0 siblings, 0 replies; 4+ messages in thread
From: Gilad Ben-Yossef @ 2019-02-18 11:57 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Herbert Xu, David S. Miller, Ofir Drag, stable,
	Linux Crypto Mailing List, Linux Kernel Mailing List

Hi,

On Mon, Feb 18, 2019 at 10:48 AM Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
>
> On Mon, Feb 11, 2019 at 3:29 PM Gilad Ben-Yossef <gilad@benyossef.com> wrote:
> > Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> > was missing a "inline" qualifier for stub function used when CONFIG_PM
> > is not set causing a build warning.
> >
> > Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> > Cc: stable@kernel.org # v4.20
>
> # v5.0
>
> However, I believe the version comment is not necessary, as the same
> version is indicated by the Fixes tag.

I've marked it v4.20 since I've marked the patch that this fixes for
inclusion in 4.20.

Although the underlying bug was there all along, it was only revealed
by a change that
went into 4.20.
>
> > Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
>
> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
>


Thanks!
Gilad


-- 
Gilad Ben-Yossef
Chief Coffee Drinker

values of β will give rise to dom!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto: ccree: add missing inline qualifier
  2019-02-11 14:27 [PATCH] crypto: ccree: add missing inline qualifier Gilad Ben-Yossef
  2019-02-18  8:48 ` Geert Uytterhoeven
@ 2019-02-22 11:54 ` Herbert Xu
  1 sibling, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2019-02-22 11:54 UTC (permalink / raw)
  To: Gilad Ben-Yossef
  Cc: David S. Miller, Ofir Drag, stable, linux-crypto, linux-kernel

On Mon, Feb 11, 2019 at 04:27:58PM +0200, Gilad Ben-Yossef wrote:
> Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> was missing a "inline" qualifier for stub function used when CONFIG_PM
> is not set causing a build warning.
> 
> Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init")
> Cc: stable@kernel.org # v4.20
> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
> ---
>  drivers/crypto/ccree/cc_pm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-22 11:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 14:27 [PATCH] crypto: ccree: add missing inline qualifier Gilad Ben-Yossef
2019-02-18  8:48 ` Geert Uytterhoeven
2019-02-18 11:57   ` Gilad Ben-Yossef
2019-02-22 11:54 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).