aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2020-03-26 11:37:12 -0700
committerDavid S. Miller <[email protected]>2020-03-26 19:39:26 -0700
commit47a39f6105d360abc8409f31fc36fac3c0925a52 (patch)
treefb9bc73078eff033baa35dca99c8531eb7253d3c /scripts/gcc-plugins/cyc_complexity_plugin.c
parentcf80faee79f98c0608a86e9006af57a99ffad650 (diff)
devlink: use -ENOSPC to indicate no more room for snapshots
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 <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions