From: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx> hdlc_fr: Add ifdef RHEL_DIFFERENCES Bugzilla: http://bugzilla.redhat.com/2019379 Upstream Status: RHEL only Fixes: 3c729f7388d59 Signed-off-by: Peter Georg <peter.georg@xxxxxxxxxxxxxxxxxxxxxxxx> diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c index blahblah..blahblah 100644 --- a/drivers/net/wan/hdlc_fr.c +++ b/drivers/net/wan/hdlc_fr.c @@ -1283,7 +1283,9 @@ static int fr_ioctl(struct net_device *dev, struct if_settings *ifs) static int __init hdlc_fr_init(void) { +#ifdef CONFIG_RHEL_DIFFERENCES mark_driver_unmaintained(THIS_MODULE->name); +#endif register_hdlc_protocol(&proto); return 0; -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure