[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200326072410.GH11304@nanopsycho.orion>
Date: Thu, 26 Mar 2020 08:24:10 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jacob Keller <jacob.e.keller@...el.com>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: Re: [net-next v2 05/11] devlink: use -ENOSPC to indicate no more
room for snapshots
Thu, Mar 26, 2020 at 04:51:51AM CET, jacob.e.keller@...el.com wrote:
>The devlink_region_snapshot_create function returns -ENOMEM when the
>maximum number of snapshots has been reached. This is confusing because
>it is not an issue of being out of memory. Change this to use -ENOSPC instead.
>
>Reported-by: Jiri Pirko <jiri@...nulli.us>
>Signed-off-by: Jacob Keller <jacob.e.keller@...el.com>
Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists