aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-12-24 21:05:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-03 11:19:34 +0100
commit064aa528bbc5da6530283a761fbb905d52b04916 (patch)
treef860be05435273153e69695beafa93ed8341015b /rust/kernel
parentlibnvdimm: Replace namespace_match() with device_find_child_by_name() (diff)
downloadwireguard-linux-064aa528bbc5da6530283a761fbb905d52b04916.tar.xz
wireguard-linux-064aa528bbc5da6530283a761fbb905d52b04916.zip
slimbus: core: Constify slim_eaddr_equal()
bool slim_eaddr_equal(struct slim_eaddr *a, struct slim_eaddr *b) does not modify @*a or @*b. To prepare for constifying API device_find_child() later. Constify this comparison function by simply changing its parameter type to 'const struct slim_eaddr *'. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20241224-const_dfc_done-v5-2-6623037414d4@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions