On Thu, Apr 30, 2026 at 04:15:33PM +0200, Jann Horn wrote: > Store common handle IDs in "struct kcov_common_handle_id", which consumes > no space in non-KCOV builds. > This cleanup removes #ifdef boilerplate code from subsystems that > integrate with KCOV (in particular in usbip_common.h and skbuff.h, see the > diffstat). > This should also make it easier to add KCOV remote coverage to more > subsystems in the future. > > Signed-off-by: Jann Horn <[email protected]> > --- > drivers/usb/usbip/usbip_common.h | 29 +---------------------------- > drivers/usb/usbip/vhci_rx.c | 4 ++-- > drivers/usb/usbip/vhci_sysfs.c | 2 +- > drivers/vhost/vhost.h | 2 +- > include/linux/kcov.h | 12 ++++++------ > include/linux/skbuff.h | 14 +++----------- > include/linux/types.h | 6 ++++++ > kernel/kcov.c | 6 +++--- > 8 files changed, 23 insertions(+), 52 deletions(-)
Acked-by: Greg Kroah-Hartman <[email protected]>

