Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: spacc - Add ifndef around MIN

Fixup for "crypto: spacc - Add SPAcc Skcipher support"
interacting with commit

1a251f52cfdc ("minmax: make generic MIN() and MAX() macros available everywhere")

from Linus' tree.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

Reintroduced MIN macro with ifndef around it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Stephen Rothwell and committed by
Herbert Xu
2d6213bd 00141249

+3
+3
drivers/crypto/dwc-spacc/spacc_manager.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 + #include <linux/minmax.h> 3 4 #include "spacc_core.h" 4 5 6 + #ifndef MIN 5 7 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) 8 + #endif 6 9 7 10 /* prevent reading past the end of the buffer */ 8 11 static void read_from_buf(unsigned char *dst, unsigned char *src,