[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y38t77Bu2gwKuZjM@nanopsycho>
Date: Thu, 24 Nov 2022 09:40:15 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jacob Keller <jacob.e.keller@...el.com>
Cc: netdev@...r.kernel.org, Jiri Pirko <jiri@...dia.com>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next v2 1/9] devlink: use min_t to calculate data_size
Wed, Nov 23, 2022 at 09:38:26PM CET, jacob.e.keller@...el.com wrote:
>The calculation for the data_size in the devlink_nl_read_snapshot_fill
>function uses an if statement that is better expressed using the min_t
>macro.
>
>Signed-off-by: Jacob Keller <jacob.e.keller@...el.com>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists