Commit 2d6213bd authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Herbert Xu

crypto: spacc - Add ifndef around MIN

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

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

from Linus' tree.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>

Reintroduced MIN macro with ifndef around it.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 00141249
// SPDX-License-Identifier: GPL-2.0
#include <linux/minmax.h>
#include "spacc_core.h"
#ifndef MIN
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif
/* prevent reading past the end of the buffer */
static void read_from_buf(unsigned char *dst, unsigned char *src,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment