Messages in this thread | | | Date | Thu, 6 Jul 2023 08:03:51 -0600 | Subject | Re: [PATCH] Fix max/min warnings in virtio_net, amd/display, and io_uring | From | Jens Axboe <> |
| |
On 7/6/23 7:58?AM, Alex Deucher wrote: > On Thu, Jul 6, 2023 at 3:37?AM Yang Rong <yangrong@vivo.com> wrote: >> >> The files drivers/net/virtio_net.c, drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c, and io_uring/io_uring.c were modified to fix warnings. >> Specifically, the opportunities for max() and min() were utilized to address the warnings. > > Please split this into 3 patches, one for each component.
Don't bother with the io_uring one, code is far more readable as-is.
-- Jens Axboe
| |