From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7516F457AF; Tue, 13 Aug 2024 10:19:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30CE44065B; Tue, 13 Aug 2024 10:19:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id 28D6340647 for ; Tue, 13 Aug 2024 10:19:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723537142; x=1755073142; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=5zel5DPmLSQJwSQh9BudFAen5rnAG3YbFvxQ7SPC+vY=; b=g2+suYZl3f/mndGy2T63y+MzVcuuDsbujx6WIxWbH4txcsBwBLBQ6QM9 L+42/tcl8ceB+PeVmhRv1RcfHssgASs1VNLSla/wWQSi83fDWcYKd0EpX WQ0DdHqFQkENzUW1QBD/bLLv+l6IZRlSuO7HbrZU5vWhKEqfyBN588TZb nRgTyPG4e/7Vmx3rnB1JKC3gVrKdU7QDUdsM/lrOD2EMdu7+Ys59v1ZGQ gToHmRQ2JhPL5ben2xsMUzkjfGxmGDbnxhCpULhghCNiKq38Qj8vy9Y5f ltN8VcgFE+RiALM7IITyGi60+Rge3GxBPnZbqRcI9lKRyHXt2i5zmwWNt Q==; X-CSE-ConnectionGUID: YYLfWu2fRaKEa8IkxK/OGg== X-CSE-MsgGUID: KPd5FSEiR/y6YchU0c0Eig== X-IronPort-AV: E=McAfee;i="6700,10204,11162"; a="21852741" X-IronPort-AV: E=Sophos;i="6.09,285,1716274800"; d="scan'208";a="21852741" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2024 01:19:01 -0700 X-CSE-ConnectionGUID: 5QAD6yK2S1yhQFEcKDqnww== X-CSE-MsgGUID: 4BujdZyjQmKoa9N8gaGF5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,285,1716274800"; d="scan'208";a="58548520" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Aug 2024 01:19:01 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 13 Aug 2024 01:19:00 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 13 Aug 2024 01:19:00 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 13 Aug 2024 01:19:00 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 13 Aug 2024 01:19:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fal6EPvejBKyb1Ac79Qclqa1guGBhtc6vUQh3nUInxG0ozdwQZZ5V7ImiBZFPgw2YB6nk1nRG/wxi9HvAjhVtOF+Yx44KcokJ/C/PuBLCK6lYaApgCKTLuUo2GXjCiolVKu4Vq0Nv9nNLZXb+blXhONPgrGFKCQwA4hLdT6umy/ugKTn7A+GjSfzFA8LQJnJaz42XOS50ka9gPMmCUF/hjJpKdoJNZTgn8htjjvsHqe4ttmRT+elv5ah/W8PjAKgVTF9fev3mhnYic6Y5JvMIMtdNaahiBXTcPccBeyFRewbt6vQNdPqxBUQQbkEEkOw50AXivUt6shW1t8slvUYYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=vonQQLdnVce2fAlUOCL/LYcHNmK2dcFbuLhwESPiadI=; b=mJUjsY2Di228FkP3EBK3TJSA4a0Wodn+evhPtInoY8CNwpow28PbhFgSXXXoOod3J7k9N+qrKKeeA3S/MXCDy1CUVFbG5hzL2pPrBfB9lZXZokRHWcdpjmtctdj6VqqvMUZQxNC1ilkmcoPr+Wjyjw8RFlRZQEfzBxpydDoWrB4aT41fws3w9BimO5UMEJ/sRQM9/oq3ykaJ9c9oVDl+d3vFq/PTyDd4KuuNQegycyyogfFQmB3Om1HxxwloFPE4m3EAhWh29HaddJ15nyxl2bB3EnMTc0c8pKXVxNTbkxTEBZOW7o+l2kXOrIhHjZky1Mndp7P5WVjqG85uzKlTEA== 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 DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by SJ0PR11MB5940.namprd11.prod.outlook.com (2603:10b6:a03:42f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 13 Aug 2024 08:18:58 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%2]) with mapi id 15.20.7828.023; Tue, 13 Aug 2024 08:18:58 +0000 Date: Tue, 13 Aug 2024 09:18:53 +0100 From: Bruce Richardson To: Stephen Hemminger CC: , Anatoly Burakov , David Hunt , Sivaprasad Tummala Subject: Re: [PATCH] power: don't disable all cast qualifier warnings Message-ID: References: <20240812215609.97353-1-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240812215609.97353-1-stephen@networkplumber.org> X-ClientProxiedBy: DUZPR01CA0056.eurprd01.prod.exchangelabs.com (2603:10a6:10:469::7) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SJ0PR11MB5940:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c9bcf7f-059c-4b89-f883-08dcbb709455 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?EAj1pwQ8BNjc537HG+SM0HpbLt09C/8GAmhrYdU/3N0l9BTb63lIt9aqToN4?= =?us-ascii?Q?pEv9TrNVg5DGMxVmQh2AdaVtt+H8EYWfecXsZ8jby8MSCJWEEGHUbYtexPrv?= =?us-ascii?Q?esP810bcI7Cw8A+NI0c9QSG6j1cjvOlv1tNhHOfdQIa8MvThP8sU98TM+ygy?= =?us-ascii?Q?9XDw8RxGBbUvjxQsLxF4YNuTIs4RROW/BLuKH/hDCvV/JAZvTgeqzfUDZEaA?= =?us-ascii?Q?btTkKDpKyoS9bMJUSx2Z/YbnXIUutmBE78JJ7YZ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?n6lNtX94Z5auBu7Btorfr2oa72o0qtGHqqHNs5pWXjx2xxWdWspf5RA24cED?= =?us-ascii?Q?xLfmGn6qF7f8Ir9SJ2onDwdvHIzJ6AnwCmcCZXSuKfFigYhduOh5/rP8t30e?= =?us-ascii?Q?zbUW1gkpGhItKP3ZO79s8O6agFb4TRW5NlfCrOq8LVKJ9mIDkAe+YkK61Rln?= =?us-ascii?Q?pjNwClcomKfxlHoOwOyWYgAr6K+FAOB3FeWasnXR881BEg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?OJ6BVxFGX/5/+eEI9PlsC3F0r/REfBI4ALxP2OXjYRqYa3I4WxBXJ95iNr9B?= =?us-ascii?Q?W7GD9SLcfyb1n2oDrBzYwDbxrTesrqJGa8cw8xYPzCBbpKOY7wHXS65wpkER?= =?us-ascii?Q?zaIvXWrJqZNN4KnCXc1FKqBly+EzXyutgYsBWaDdJt7XKjco1BBsmzNjopGi?= =?us-ascii?Q?fuDmZZZ0sb0OYFqtcx2PsuTpRPNUQHjsTD9F7oax0la9FeJ5OOCW5dstAAM4?= =?us-ascii?Q?XMblroE8Ewqy1G2Kg+k93klU2zeY6vAH6qyEX2dWP5ab103UhtkHD6rupAWn?= =?us-ascii?Q?TbYnG+l011rkBuZO54TRyFxXWKxPWNUZ1Hs6RCdpm9Wfx+CSjB9JpgXQ+cdi?= =?us-ascii?Q?KKobqFoW2vuveUqRUhPtRyBGDW+NcGHJa+G9viTUTOYOg81cQK4AXUiSvj+5?= =?us-ascii?Q?vBLEWXq2ocg1KWO6xhrynRcWPREi3Shu54QSj+8K8YixxPulfm+ImW5SJ/8O?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XmTiBtKr1dK1Yz72zOIyL+7njgGA?= =?us-ascii?Q?GRsTvXEgOHy5/1yjvUBbxBInpQkYuCsVP6TjEBwS5rxGr8mbP19JYZVA2jcj?= =?us-ascii?Q?Wg1zEZaED1A7nk9oqzcDMcpdHg4u0Q1bXSadm5MvVCbnb2cDMebgzPFmMLSa?= =?us-ascii?Q?QVtQ0UxrgpdbBo4+duwx9y3Z8IDTZhdJ0OA7RwKGHuz7pmAMTel5HzXVaGBW?= =?us-ascii?Q?+teQP1JqOyJF20A0wAiaBtfZJ8G0HOz3cuZ3U344sx0GsQEtCzLk6ArtkwAM?= =?us-ascii?Q?hg=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4c9bcf7f-059c-4b89-f883-08dcbb709455 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2024 08:18:58.0371 (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: 9A5F0FJrhp3L/6HNM10oHnCwxQXqD16iqhHew4R59PnrQBm7+IjoHKI/tjQ2wKKQNySP7erCdfm4LJXe48ab7JZUI1Va0lt5stGhm8a4abQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5940 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Aug 12, 2024 at 02:56:09PM -0700, Stephen Hemminger wrote: > Only in one place does the power library need un-constify a pointer > and this can be done by casting to uintptr_t first. Better, to have > the warning enabled across the rest of the code. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Bruce Richardson