Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED0A3C7EE2F for ; Fri, 3 Mar 2023 15:36:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231497AbjCCPgm (ORCPT ); Fri, 3 Mar 2023 10:36:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231166AbjCCPgj (ORCPT ); Fri, 3 Mar 2023 10:36:39 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230C822A29; Fri, 3 Mar 2023 07:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677857796; x=1709393796; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=kGSg64CAW/lA8jVE6nSibuYMjB8hQLnRs+yPmmEM9U0=; b=NtH6FHF5QS9J3HhG2pOAU0LPND65KlPszRWX2DpHCezsinLd9WqIJVMK TvB3GYH4ehDmhyKOdqj7oaFuMCW8S/t4uuhVlfP0gHZud2GkEQ/hK5zVC 4kxejCzjmW+/zArnc3cJD7EtV+iuCdGpzZ9I22L4p9ir86I46Y9S5OUbX 5pHr6DnCb3wAYyGSW5FnjlucdJKVdxUoRZ3BmCeAKj8Vt6P2fN1rSkXvu ZtWT/sr0inHa9PaXa97iO+hQXtzIhifizNPN1eEJJ3WhNfgT3ksCeX5xi 36WES+G2x57sR0lzDvZsqyX+ZKm+gskCDZ0SuZY6PTHARbvnj2giFpmI5 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10638"; a="421341449" X-IronPort-AV: E=Sophos;i="5.98,231,1673942400"; d="scan'208";a="421341449" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2023 07:36:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10638"; a="764463371" X-IronPort-AV: E=Sophos;i="5.98,231,1673942400"; d="scan'208";a="764463371" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP; 03 Mar 2023 07:36:34 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 3 Mar 2023 07:36:33 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 3 Mar 2023 07:36:33 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 3 Mar 2023 07:36:33 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Fri, 3 Mar 2023 07:36:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fvf7aTql0xNfhs4oFmFoyU51C1BDZmkZxlEyewZQ8dHSn+7FdWiPPLZjUIedaRboCdMovXqSPH6OWBltfNf7rsBWAEqMCXtjbEYwJ95EP26lknlIzYYrG86LG5kAZZaJGstpg83Cft59X29PB9LbRzUgyRBk5z3iv850Spxw2DN23Sn94VEc1OJWpbPokHk3TY9P2fEyEbVQlos6NGICkke+t2w0jJkrf8anOmMgvbiQ7w4mDwuziUvgAE6yWBogc8nMoau8Fnj4RruM4qhE4Q6b/5Ha/EOjJxE5F49sjoEqYbUK5jMgu6sx3n5+XvB/Bhr1S23vCpbUackxNk/zlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sFJIFtVpBt8m7s1XcFZnSc5KkhkgDXRvQrrkJ2YU6YY=; b=QtgWphLhGm1DuIZ+rOig0E7NAVl6i6ySt2/TYvz4QX8JLGcvdPiJVEhPPW/pu8mmLXi7HRNHhNVxrURj1l3pTcrapcfHBCu7dJkO4RQVjCuQ8auG3nZuVmBLpk/OC+JvMuGnIGobP7w3NtiXVAiFsFA9o65a2kdSuMkplwh96RKJVvgMHAX8MU/S1Kfeb9ZuGdoXcmckldqrHoVku9qG2ZcE6YLQmRNqADaZdoKNNsRDiy1Vt6EwmdX0AzJqzkH6jmKGcXunmOquhAIqV6lGDIFmfe20RZvMWBAO+6YV2w3RUNWTFHXa0ZzHfs3b2JOXThLask2GFjZK4K8jhbhV0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) by MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Fri, 3 Mar 2023 15:36:30 +0000 Received: from DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::3ff6:ca60:f9fe:6934]) by DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::3ff6:ca60:f9fe:6934%4]) with mapi id 15.20.6156.022; Fri, 3 Mar 2023 15:36:29 +0000 Message-ID: Date: Fri, 3 Mar 2023 16:35:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] qede: remove linux/version.h Content-Language: en-US To: Muhammad Usama Anjum CC: Ariel Elior , Manish Chopra , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , , , , References: <20230303125844.2050449-1-usama.anjum@collabora.com> From: Alexander Lobakin In-Reply-To: <20230303125844.2050449-1-usama.anjum@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0017.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::27) To DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR11MB3625:EE_|MW4PR11MB5872:EE_ X-MS-Office365-Filtering-Correlation-Id: f327cac8-e49b-4e50-1d79-08db1bfd0eef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KtG2w4OfHlkd9IFXxTUTVSlGg0URn2dq7ByMYHpXzw7kyT+/RGfaqXJy2uB9Wel6yde21qDisZZv82FX3xC7NUa1kJZU+LvXRrJJC+v5ltNH2/lPH4kpDWQzULTavE0Z9O1wwgOxGOxxtaOEXYfXPK2Yo+JaiOCZmezdHbJze450cMWeW9NTM/Llykoy4Hyqwh2monLkV3YTWT31T/p/QypSGLgGczr/FpacwvK4LRQYj0ZRLBSGwcJyJK+Tt3nRT+eLAUC43KipFu7CwVHShdjoLI5s4LKDu7VSMahmNqSbi5lDWSuw9jDR7j9gYlk9TprKKH9FLGofXTNNFfc/+XnGr9XsWswmwSe4G8bNBqaPd0PGEfoxMHKWK2zcuQ7bcPKZ9v6MfyubJpqzJ2X5jHYruq2TzHjSH0tfu9FlwbTYQM/1LEiR4MrrC2sNe5AMTxhDiEH2g9V43p/kgWHL+5JL6KRivchvhZV+0C7g8zy0mOr70IrrerdJAT7uW+/jQZSXi3PQWjmKqtfKeVzeate8WluQDxoANj4wfygffi9+QGl+lrtQGpy8N8bfkO7qU1vL6cMl+09urbJ/ZuDbNG2fXkaBijusHQIF+XqB5rksw6YGhyDd/O/T+6j1DS+Xn6f5QB/vHfDYaS+pThXxOBqC+bnR4PCoNwG+BXWk+LLwIZBgNEa7/ZzkpRVleXasaoG72596mXcpT3u5fnnHiP0KvSlT1OjyETFZu9aMZk8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3625.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(396003)(376002)(366004)(346002)(39860400002)(136003)(451199018)(8676002)(6916009)(66946007)(66556008)(66476007)(31686004)(2616005)(83380400001)(26005)(316002)(6512007)(41300700001)(186003)(4326008)(6506007)(54906003)(8936002)(7416002)(82960400001)(38100700002)(5660300002)(6666004)(86362001)(36756003)(31696002)(2906002)(478600001)(6486002)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VFlTZnVDMDJNTGhkcmtqZEk0eVVuaEQ3UW90ZC9YbnR6ajdGcURFelJVK01X?= =?utf-8?B?V0tURDFIUFc0T1graHlORG1FVDlvaGZVSzVnM24vUnhlc2crNm02M2FlN1h1?= =?utf-8?B?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GZ2kwS1NOUVBl?= =?utf-8?B?Q3hjbGpqWG1QR0ZlenNGV1Q5dmtZaXVrTmNFVitUc3BJUXB6VDVTNHFUOENT?= =?utf-8?B?RUNUdEh2RGhUc3ZqUHVaWEF1S24zUVJYTC9BZE13NksxZkkrQjJQeW9yRFl0?= =?utf-8?B?aDdTQlB5NldCRGhPa0FINXpIM011QW1MbkFJZ2RCdVZCVVpVVENia2ZuK3NW?= =?utf-8?B?ZnZxY3ZPUXhPWFlTUHJzOVgrNUZlaW0xcit0ZUFTMkhyQ0NjZG5IMzNpUTJ0?= =?utf-8?Q?tAsipfyDFN3CTRpen5wypqk=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: f327cac8-e49b-4e50-1d79-08db1bfd0eef X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3625.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2023 15:36:29.7096 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Sh1REVlRfxmJ+2cOzTL9EBqNJUTuElVyFfOtzvhLxHKK9E0Tv2Ql57igLnwjoAUh+iy0WvUTEN1Bz3cTUcr6x7fchsz7BkJXWjE7Ey6i69c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5872 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Muhammad Usama Anjum Date: Fri, 3 Mar 2023 17:58:44 +0500 > make versioncheck reports the following: > ./drivers/net/ethernet/qlogic/qede/qede.h: 10 linux/version.h not needed. > ./drivers/net/ethernet/qlogic/qede/qede_ethtool.c: 7 linux/version.h not needed. > > So remove linux/version.h from both of these files. > > Signed-off-by: Muhammad Usama Anjum > --- > drivers/net/ethernet/qlogic/qede/qede.h | 1 - > drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/net/ethernet/qlogic/qede/qede.h b/drivers/net/ethernet/qlogic/qede/qede.h > index f90dcfe9ee68..6ff1bd48d2aa 100644 > --- a/drivers/net/ethernet/qlogic/qede/qede.h > +++ b/drivers/net/ethernet/qlogic/qede/qede.h > @@ -7,7 +7,6 @@ > #ifndef _QEDE_H_ > #define _QEDE_H_ > #include I think compiler.h is also unused, maybe this one too, while at it? > -#include > #include > #include > #include > diff --git a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c > index 8034d812d5a0..374a86b875a3 100644 > --- a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c > +++ b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c > @@ -4,7 +4,6 @@ > * Copyright (c) 2019-2020 Marvell International Ltd. > */ > > -#include > #include > #include > #include Thanks, Olek