]> www.infradead.org Git - users/hch/misc.git/commitdiff
Merge branch 'devlink-errors-fmsg'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:34:51 +0000 (11:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:34:51 +0000 (11:34 +0100)
Przemek Kitszel says:

====================
devlink: retain error in struct devlink_fmsg

Extend devlink fmsg to retain error (patch 1),
so drivers could omit error checks after devlink_fmsg_*() (patches 2-10),
and finally enforce future uses to follow this practice by change to
return void (patch 11)

Note that it was compile tested only.

bloat-o-meter for whole series:
add/remove: 8/18 grow/shrink: 23/40 up/down: 2017/-5833 (-3816)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge