[PATCH 5.15 249/276] minmax: dont use max() in situations that want a C constant expression