Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1169368pxm; Thu, 3 Mar 2022 11:41:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyoAAIcwavvWkcU77QNIPuCPqSIISgBCaOzst8FCxCr0pUNaKboiONhE+YA3VdzzSlTdoC X-Received: by 2002:a17:906:c344:b0:6b4:c768:4a9a with SMTP id ci4-20020a170906c34400b006b4c7684a9amr28735653ejb.151.1646336502948; Thu, 03 Mar 2022 11:41:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646336502; cv=none; d=google.com; s=arc-20160816; b=lt6G8G4nKmHaVXGeiO5nxsn3oY9urIxHeGhm4Lcdtfvkh3LezGGhXGo34wo+egHRan 2XczQRwx1z/jzvAn1igDzUmm0uMfdMLfColkH+zB2ALnqty04HC+qnlWS4Ticw8eMNge z31D9xw3oV6brJOh4JVHld7jHZT8QsOhVLoIBStpoMqzD+bq/JG5HUe4CdIEoHoziDKa umf+Dl/OyCPoMv/USZ8sL/BqqR1DJ1l8RBwH4p9iEaUtJC0lPBz4t1FKXc9WZghgWlBM kouRZ+O+HqcPr8dCECIwa69wtImfIGDBFVz6kDDKNL9dWL8CeM8scu/V4U1NX5IUx8M9 IQVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=edxzlT0ua6q/WXD1RlHEu98j/w9wI0fapmJTiBUe15k=; b=NubYDq9YotSoViSIhoGrvLz4rYopByEz5VpXKlWXwcjopgJqv3cdPwLT3We801+1Ak LNAu3MqqnRghBJggrpD2HW5wplFkgMqcxeewJc78gsmMfWagYpBzMtj0lf/Mu6jQ15C6 JPpi2Dj3FfdE3u3uJr33VrzNryaENhrZxIXHI0eaGP5sBnpF4vJiQaWRVLa5AT/RABec O3EyseZP+C5pNgbTygS/sJBKKVZTKrMOhZTcjFv8t52ePGTWDoAb8/bIDAw7vnccpdl9 aorCeTm51cpO5sIgcrujOBTn89eXgRg3pVrzgiCywQsN6TIIH+Gb8qMFzHWe8xuROJIC 09Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GQXrOriv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne37-20020a1709077ba500b006da83f59f9bsi2599175ejc.931.2022.03.03.11.41.19; Thu, 03 Mar 2022 11:41:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GQXrOriv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235092AbiCCTMf (ORCPT + 99 others); Thu, 3 Mar 2022 14:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbiCCTMe (ORCPT ); Thu, 3 Mar 2022 14:12:34 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D4B12624; Thu, 3 Mar 2022 11:11:47 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id b5so9348803wrr.2; Thu, 03 Mar 2022 11:11:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=edxzlT0ua6q/WXD1RlHEu98j/w9wI0fapmJTiBUe15k=; b=GQXrOrivW1MnjCYBa5LVMnvnaOVAw209ImFARkARXMI3U9X8Kc3+9+eUvssQCdUD9N rpSkWDp6atspq7VRacpcfJT7nCvGtyaFvCmbk4ljd3XjHezeDsd8TvadKPRk+Yk5C5p2 6vXiC/OjRQOjdeLmJky0H+7Xdx6aU1S4cFZBz0CLe2edjLSz0uFifnbLbkdsbAr/fyz8 5wHxh8o9wGzLgFnqKoermHZG/NwTGge6LEkyOTyC42B1obldTZsoS7KCDHQ3hzQBEkmO q/GJ2rU/oJe90f4R0pgVmjv1B4GApmxgqaeoo9BVJEBJh6lgSWKdbhZ/1Ihnz3Zw4qgW 7NCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=edxzlT0ua6q/WXD1RlHEu98j/w9wI0fapmJTiBUe15k=; b=rDbcb3IEL4GM5IO9MwlXj6S02WRe31N9OQxlN8RiVA1A2SNG4YuJyTBmJMgG5ToV+Y 15s5XlUC2IDrWo0RePIGN0t6skOw18+0ymevzCFY2skqBxPDr7BWQgBSONvBhKmAFUwd /3ETAvADXKbO36GqU4eGCLE/fY8gM9qQIIY0wNEVOG7OX2eSVS6thpCdL3hP5VaUEJQs 9UMNYtdOg3oSm5iSjafd8ARUu56fY1Ug5Q8EDGb6eqgk40OhFi2SAEAQafND9eh6oqEw xab2UFWYo+lHEhkRWqCe+XzfzG44h53PeXUMVaTP5up5Ww+lfDoWT8l8JAD2kWTN9bcv IXVA== X-Gm-Message-State: AOAM5302b3zvf0PUtwAzgk/bjXkvJ8BV+c8ga1Zllf3j0q87SNJC7kxm NlB0H7/2oIjxJYZlRFgWKEo= X-Received: by 2002:a5d:4578:0:b0:1ed:bf30:40f3 with SMTP id a24-20020a5d4578000000b001edbf3040f3mr28245345wrc.669.1646334705876; Thu, 03 Mar 2022 11:11:45 -0800 (PST) Received: from localhost.localdomain ([102.122.167.77]) by smtp.gmail.com with ESMTPSA id f13-20020adff8cd000000b001f03439743fsm2811600wrq.75.2022.03.03.11.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 11:11:45 -0800 (PST) From: hatimmohammed369@gmail.com To: pbonzini@redhat.com Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Hatim Muhammed Subject: [PATCH] Fixed function pointers coding style issues Date: Thu, 3 Mar 2022 21:11:20 +0200 Message-Id: <20220303191120.7503-1-hatimmohammed369@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hatim Muhammed Signed-off-by: Hatim Muhammed Some functions pointers did not provide names for their parameters, Fixed that --- virt/kvm/vfio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/virt/kvm/vfio.c b/virt/kvm/vfio.c index 8fcbc50221c2..37887b158aae 100644 --- a/virt/kvm/vfio.c +++ b/virt/kvm/vfio.c @@ -35,7 +35,7 @@ struct kvm_vfio { static struct vfio_group *kvm_vfio_group_get_external_user(struct file *filep) { struct vfio_group *vfio_group; - struct vfio_group *(*fn)(struct file *); + struct vfio_group *(*fn)(struct file *_file); fn = symbol_get(vfio_group_get_external_user); if (!fn) @@ -66,7 +66,7 @@ static bool kvm_vfio_external_group_match_file(struct vfio_group *group, static void kvm_vfio_group_put_external_user(struct vfio_group *vfio_group) { - void (*fn)(struct vfio_group *); + void (*fn)(struct vfio_group *_vfio_group); fn = symbol_get(vfio_group_put_external_user); if (!fn) @@ -79,7 +79,7 @@ static void kvm_vfio_group_put_external_user(struct vfio_group *vfio_group) static void kvm_vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) { - void (*fn)(struct vfio_group *, struct kvm *); + void (*fn)(struct vfio_group *_vfio_group, struct kvm *_kvm); fn = symbol_get(vfio_group_set_kvm); if (!fn) @@ -92,7 +92,7 @@ static void kvm_vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) static bool kvm_vfio_group_is_coherent(struct vfio_group *vfio_group) { - long (*fn)(struct vfio_group *, unsigned long); + long (*fn)(struct vfio_group *_vfio_group, unsigned long _n); long ret; fn = symbol_get(vfio_external_check_extension); @@ -109,7 +109,7 @@ static bool kvm_vfio_group_is_coherent(struct vfio_group *vfio_group) #ifdef CONFIG_SPAPR_TCE_IOMMU static int kvm_vfio_external_user_iommu_id(struct vfio_group *vfio_group) { - int (*fn)(struct vfio_group *); + int (*fn)(struct vfio_group *_vfio_group); int ret = -EINVAL; fn = symbol_get(vfio_external_user_iommu_id); -- 2.35.1