HomeFreeBSD

linuxkpi: Resolve duplicate global symbol name to fix LINT kernel build.

Description

linuxkpi: Resolve duplicate global symbol name to fix LINT kernel build.

seq_printf() is defined in both spl_procfs_list.c and linux_seq_file.c .
Fix this by renaming the LinuxKPI ones and use macros to invoke the
correct function.

Reported by: jfree@
Differential Revision: https://reviews.freebsd.org/D35883
MFC after: 1 week
Sponsored by: NVIDIA Networking

(cherry picked from commit cbda8bed15a0de596f72a360debc968343cdc3ce)

Details

Provenance
hselaskyAuthored on Sep 20 2022, 8:36 PM
manuCommitted on Nov 29 2022, 12:13 PM
Differential Revision
D35883: LinuxKPI drm-kmod debugfs support
Parents
rG5a612b440928: LinuxKPI: Add pci_power querying for drm-kmod
Branches
Unknown
Tags
Unknown