Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4513607rdh; Wed, 29 Nov 2023 03:46:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzL03hRe3P05ExlBkw5wbeLD0ELisnYHTCMCamDZdUd2gEtR/mr8i/wUvGacCfqSfA5ldm X-Received: by 2002:a05:6a00:39a3:b0:6b8:a6d6:f51a with SMTP id fi35-20020a056a0039a300b006b8a6d6f51amr21572878pfb.31.1701258376581; Wed, 29 Nov 2023 03:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701258376; cv=none; d=google.com; s=arc-20160816; b=f6jI29uYeMDL6SZ7qeLm2Ihpf8l1J9K8Vh4tXstI3W9/n/GaRd5X+pAFTcY8rnq8VM v7QIVrVcULYBU+63awY0wNm148Tx6vp9tIGfpYZjvotPy+2Wbxkclk+8OxtSIs/2kzzy Jh4tM74fxJissMkxSV1vjGpQN19v3SH4blBY50jBdq7GhrnSoAiqDETmtL1VN+0icxcH PyNRzQCJZmAp4YAPQ0KuMhNPPHSG3SeO53WrrQRAeSWby9Vypwkhn82aCpaT5ty42P7J MMT0RakRUULR5zGkYfbB+hPY2zBXT4qf8d8gSV5/hv4EnVevy/BFefuz1piCRKYUsyOq 6+7A== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=29/Ox930Ts2AR6kLbo0blbp9ULDpj4HncDSCysc5seA=; fh=rMVoPiodSMQb3gi1Gy6TwFoEDiiG5mTet23e3i++kvM=; b=k9/7kSafwi345dHIpPcgLjMT8QFOjmiq56oxDyE4oOl0TcFmu65eAX1i//FeWfpIyu b1RqjjXi+rYsi2PLrkJ1WmIYezUXIMwmufRf07q91EKp8wDwhy/3IR1E9qYf1SKhVzcN z8/RQkBoSEOiJSCrB+q/OiNHiHLyuQtwZJvLdJ99ZZ0PsEeAViwvk9a5JLaxEqesehnE Njvu+SzA3bySi4gaj60WM56quqoGxpzyYKTiFYbRRYtEXbzJ0J3rbI/cDi76OyELwYlp l4kZp3HwTenESFvMYMNYi/KzRUCOTR09JcJhAf8NTYyVDb03OLmEYsbvGCFkksf3aJst 5SBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z4-20020a63c044000000b00578f23273a3si14334252pgi.738.2023.11.29.03.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 03:46:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B03A8807751A; Wed, 29 Nov 2023 03:45:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233129AbjK2LpA (ORCPT + 99 others); Wed, 29 Nov 2023 06:45:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbjK2Lo7 (ORCPT ); Wed, 29 Nov 2023 06:44:59 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A94784 for ; Wed, 29 Nov 2023 03:45:05 -0800 (PST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1r8J04-0005eN-3N; Wed, 29 Nov 2023 12:45:04 +0100 From: Philipp Zabel To: linux-kernel@vger.kernel.org, Krzysztof Kozlowski Cc: Andi Shyti In-Reply-To: <20230810091300.70197-1-krzysztof.kozlowski@linaro.org> References: <20230810091300.70197-1-krzysztof.kozlowski@linaro.org> Subject: Re: [PATCH net-next] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning Message-Id: <170125830393.1526904.6100965191694710794.b4-ty@pengutronix.de> Date: Wed, 29 Nov 2023 12:45:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-5c066 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 03:45:24 -0800 (PST) On Thu, 10 Aug 2023 11:13:00 +0200, Krzysztof Kozlowski wrote: > 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1 > causes: > > hi6220_reset.c:166:9: error: cast to smaller integer type 'enum hi6220_reset_ctrl_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] > > Applied to reset/fixes, thanks! [1/1] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning https://git.pengutronix.de/cgit/pza/linux/commit/?id=b5ec29447279 regards Philipp