diff options
author | 2023-10-12 04:13:59 -0700 | |
---|---|---|
committer | 2023-10-13 17:26:38 -0700 | |
commit | 131eeb45b96107b19f9f231d6e81348b471b2ed0 (patch) | |
tree | d3df23aaae908fc16addf7b4afb5371b0f260715 /drivers/net/bareudp.c | |
parent | netconsole: move init/cleanup functions lower (diff) | |
download | wireguard-linux-131eeb45b96107b19f9f231d6e81348b471b2ed0.tar.xz wireguard-linux-131eeb45b96107b19f9f231d6e81348b471b2ed0.zip |
netconsole: Initialize configfs_item for default targets
For netconsole targets allocated during the boot time (passing
netconsole=... argument), netconsole_target->item is not initialized.
That is not a problem because it is not used inside configfs.
An upcoming patch will be using it, thus, initialize the targets with
the name 'cmdline' plus a counter starting from 0. This name will match
entries in the configfs later.
Suggested-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20231012111401.333798-3-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/bareudp.c')
0 files changed, 0 insertions, 0 deletions