]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: push common code to __pr_out_port_handle_start_tb()
authorJiri Pirko <jiri@nvidia.com>
Mon, 5 Dec 2022 12:21:57 +0000 (13:21 +0100)
committerDavid Ahern <dsahern@kernel.org>
Thu, 8 Dec 2022 17:47:44 +0000 (10:47 -0700)
commit18ff3ccbc8535fe3cb8319eebc097e50d326632d
treea5972d50102fa2e1f5c7d2ca0ea558c7f6e31e5a
parentd5ae4c3fdba8959a9adc74054701671268b442f2
devlink: push common code to __pr_out_port_handle_start_tb()

There is a common code in pr_out_port_handle_start() and
pr_out_port_handle_start_arr(). As the next patch is going to extend it
even more, push the code into common helper.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
devlink/devlink.c