From 895709a28145b7d6247f27a723e6d1f536389ecb Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sat, 23 Nov 2024 20:49:58 +0100 Subject: [PATCH] drivers: samsung: scsc: Adapt scsc_wlbtd.c for Linux 5.10.229 --- drivers/misc/samsung/scsc/scsc_wlbtd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/misc/samsung/scsc/scsc_wlbtd.c b/drivers/misc/samsung/scsc/scsc_wlbtd.c index 1e96305c9..3d4b2925f 100755 --- a/drivers/misc/samsung/scsc/scsc_wlbtd.c +++ b/drivers/misc/samsung/scsc/scsc_wlbtd.c @@ -463,7 +463,7 @@ int scsc_wlbtd_get_and_print_build_type(void) genlmsg_end(skb, msg); SCSC_TAG_INFO(WLBTD, "finalize & send msg\n"); - rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0, GFP_KERNEL); + rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0); if (rc) { SCSC_TAG_ERR(WLBTD, "failed to send message. rc = %d\n", rc); @@ -542,7 +542,7 @@ int wlbtd_write_file(const char *file_path, const char *file_content) SCSC_TAG_INFO(WLBTD, "finalize & send msg\n"); /* genlmsg_multicast_allns() frees skb */ - rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0, GFP_KERNEL); + rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0); if (rc) { if (rc == -ESRCH) { @@ -645,7 +645,7 @@ int chipset_logging_send_msg_to_netlink(const char *file_content, int length, u8 SCSC_TAG_DEBUG(WLBTD, "finalize & send msg\n"); /* genlmsg_multicast_allns() frees skb */ - rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0, GFP_KERNEL); + rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0); if (rc) { if (rc == -EINVAL) { @@ -813,7 +813,7 @@ int call_wlbtd_sable(u8 trigger_code, u16 reason_code) SCSC_TAG_DEBUG(WLBTD, "finalize & send msg\n"); /* genlmsg_multicast_allns() frees skb */ - rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0, GFP_KERNEL); + rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0); if (rc) { if (rc == -ESRCH) { @@ -937,7 +937,7 @@ int call_wlbtd(const char *script_path) SCSC_TAG_INFO(WLBTD, "finalize & send msg\n"); /* genlmsg_multicast_allns() frees skb */ - rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0, GFP_KERNEL); + rc = genlmsg_multicast_allns(&scsc_nlfamily, skb, 0, 0); if (rc) { if (rc == -ESRCH) {