Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1009664rwl; Thu, 10 Aug 2023 05:17:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEg9UFpqLaVzaKgTS9tVgk6Vhavoh4vQwGnQ2ZJlZJDrWPnLewK49A/fF5j0dcSMwq/8m5Y X-Received: by 2002:a17:906:31d2:b0:99b:4a29:fb6a with SMTP id f18-20020a17090631d200b0099b4a29fb6amr1866440ejf.59.1691669824901; Thu, 10 Aug 2023 05:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691669824; cv=none; d=google.com; s=arc-20160816; b=VepTBeN0gR+Sa6cC7ZEv7/bvJVhuTo11x/asv5UM+LVAlzvKCW4T2w/psE24hnY/SB c5GixCrWfUaoFq4+KIQxqfa8/1IEkP+Kongh7VZpP+ZDQzxHec5WAt8Jxx82ikkCV91W t/USYK7WX0h+yeKcxKkCsIGxpedEa/wAV10bQvrwupS6DGUMTSFeLLNdzvlbCzVeH0SP LBJFW8wMvG+uOazvXz0+gZ5ZvNozgnsGv/WzRfItMT85LVpl3zY7vlfH08oF/XFuK2sk 7URPmo9ZojqlcqGb5ErZO+KEqFfRdiP0e8FVarHBXhy0YYQMVgSaFiZ01UyP3gnIVQsY 1WEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=g0zYMgT838ZTmPFJh/LRZx7cd7y0jlwkfv9V91Z/uYo=; fh=lGuFbdeearFjvELfeBAN012yB6SWlajsl8/w0ccS8vs=; b=bmBxuT1Au+rG3WfHSwPVSXnxY5ZnNzH8EGxB3OWfxktt96CYCpHZ0X/+yuHHBxQFnn OfDQ47TDk5zs4nRgdFVFipYSaJgqnYtbaDLzlcBpbCgj0eCVv5M7Xvmygc+bnvFft0Ei uxFOmBvgXlBAAZPFAk2ihOC3QmDEMo7xLfqYMBDfUZKrQsLlSAOV0wIBOhltY+gB86bY pSgIX2U+9ILqATOzQmYwC2Xmg4qED9tJHu36zERaytikVi6KcAA0VCZNk+shbGYk8Q7B rzva7T5ajdMg3/56fvhq7KfXAZGv1IqdOVLXWhI8/SXYU7Sr4gSJIhKZoSjHoEdmIK+R SZRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=NghcXBRh; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a1709067e0100b0099cdf87c005si1401787ejr.40.2023.08.10.05.16.40; Thu, 10 Aug 2023 05:17:04 -0700 (PDT) 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=@cirrus.com header.s=PODMain02222019 header.b=NghcXBRh; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234562AbjHJKOL (ORCPT + 99 others); Thu, 10 Aug 2023 06:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233043AbjHJKNm (ORCPT ); Thu, 10 Aug 2023 06:13:42 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D5AA212F for ; Thu, 10 Aug 2023 03:13:10 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 37A9okhh000824; Thu, 10 Aug 2023 05:12:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=PODMain02222019; bh=g0zYMgT838ZTmPF Jh/LRZx7cd7y0jlwkfv9V91Z/uYo=; b=NghcXBRhbY3jcPxs85S5pjXEQs2d1wR Svc+a5udgD2VSD6gTbvqPNXKJ08rQSfEjkzAVSRw6VorjFWM89khI8zf2virQHIn XRhk6KYv1Cd29fEhsFOrsVYlptQamPMs5A8Leuml91p3YR+0TC7IWJkFoeC+zunB TsRw1HpTvetNYXADBQElc2LVPhU0VlLJKBP6waCtm8NBAbnh98BeGbDqOLUItEI+ vdG+PlSeif+a5lT2/BU1VXB4Jlb0Imej/uooYOnYfxk4A5CaSB6Ywb+rbYnOWJUJ RcrWsBtK/w7iy/HUnPPsfB1E039K+HFFLsreRDIdYQzOujI2MYdx6jg== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3s9juhvnet-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 05:12:43 -0500 (CDT) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 10 Aug 2023 11:12:41 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.30 via Frontend Transport; Thu, 10 Aug 2023 11:12:41 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 9D3E511AA; Thu, 10 Aug 2023 10:12:41 +0000 (UTC) Date: Thu, 10 Aug 2023 10:12:41 +0000 From: Charles Keepax To: Krzysztof Kozlowski CC: Lee Jones , Chanwoo Choi , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Maxime Coquelin , Alexandre Torgue , , , , , Andi Shyti Subject: Re: [PATCH 7/9] mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning Message-ID: <20230810101241.GY103419@ediswmail.ad.cirrus.com> References: <20230810095849.123321-1-krzysztof.kozlowski@linaro.org> <20230810095849.123321-7-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230810095849.123321-7-krzysztof.kozlowski@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: P8WUHo_u8it1x4AeKxI28-bIj62ueHNZ X-Proofpoint-ORIG-GUID: P8WUHo_u8it1x4AeKxI28-bIj62ueHNZ X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 On Thu, Aug 10, 2023 at 11:58:47AM +0200, Krzysztof Kozlowski wrote: > 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1 > causes: > > wm8994-core.c:631:19: error: cast to smaller integer type 'enum wm8994_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] > > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Charles Keepax Thanks, Charles