summaryrefslogtreecommitdiffstats
path: root/net/llc/llc_proc.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-12 17:58:37 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-13 18:40:46 +0200
commit2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch)
treef91f8d6188a7b4ef0546b89cdcfd671674cce181 /net/llc/llc_proc.c
parentrose: constify dev_addr passing (diff)
downloadlinux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.tar.xz
linux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.zip
llc/snap: constify dev_addr passing
In preparation for netdev->dev_addr being constant make all relevant arguments in LLC and SNAP constant. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/llc/llc_proc.c')
-rw-r--r--net/llc/llc_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_proc.c b/net/llc/llc_proc.c
index a4eccb98220a..0ff490a73fae 100644
--- a/net/llc/llc_proc.c
+++ b/net/llc/llc_proc.c
@@ -26,7 +26,7 @@
#include <net/llc_c_st.h>
#include <net/llc_conn.h>
-static void llc_ui_format_mac(struct seq_file *seq, u8 *addr)
+static void llc_ui_format_mac(struct seq_file *seq, const u8 *addr)
{
seq_printf(seq, "%pM", addr);
}