Re: [PATCH v7] kernel.h: Retain constant expression output for max()/min()

From: Kees Cook
Date: Thu Apr 05 2018 - 15:52:31 EST


On Fri, Mar 30, 2018 at 6:52 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> This patch updates the min()/max() macros to evaluate to a constant
> expression when called on constant expression arguments. This removes

Hi Linus,

This patch seems finished (*knock on wood*). Do you want to take this
directly for v4.17, should I send a single-patch pull-request, or
should this go through -mm (for either 4.17 or 4.18)?

Thanks!

-Kees

--
Kees Cook
Pixel Security