[PATCH 5.10 210/332] minmax: dont use max() in situations that want a C constant expression