Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1049427rdb; Mon, 4 Sep 2023 00:57:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGjAxZ4wGen65kHS+75l1nwuC974nKcFSZjwf79U5gwyf+FzL9hrHs4MdNrTFSLBHoDBl7z X-Received: by 2002:a05:6a21:35c2:b0:148:c3ea:fb6c with SMTP id ba2-20020a056a2135c200b00148c3eafb6cmr6959421pzc.36.1693814275813; Mon, 04 Sep 2023 00:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693814275; cv=none; d=google.com; s=arc-20160816; b=kZ40fgbPrizq1uTWKYGmqP66Qil5DGBiTkNUJYVPyDzGgYG0rwMe0yvl1FHwqagVGk Rp0+/LaRpwHex96H7jUJz0MSQAWEcbXE+fIFuIWBIhRNDh8dolrFyV+xpVBwn72G8j1H QXLDQcboeahdzpcju7u+t+bccUuZtBcGoOvZxhKSvwGjLVuTXttOT/nTiLY08VMYML/z 5otcGWu9MTiZk81sCMt+M2Eb4Lnek5omSe0MvDBcUmGATS2KOxYZ4SWZkAH229OI1Q+m t2/L3VKU/q98TAtgfiqVS7Bk+bF7Tsy6T0Oyq1Zn+QJXm+7nnZyndS/sC7tPF/olA4bu hBgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WsF/CZzJevb7qzOu/rH5e67D2HAWhOSaj8jSUbUz0Rg=; fh=sFtsiVNOXPOsMNJq6V+t9saQS1ljHnMADmd4LC7gg+0=; b=Zt6lsA6gik2YFcsFcDZlz0gZ2mugKLZUsee4++dReHvceQrqQonOnSDGAe9mHckv/Z YHNuYRacPs/01z62WuoT5RYiaz+TFWlJ0NtwktG3o0oEqoWtx8W1GCOW9MCmgVzeR1/X vUZhk27iae12tbi5uvc51ogjAtIbWiuFszMQ2HICGoA31/LZMVwLEuQk8RYc9pmyX9XW DmI4arcZRa/lSThNKzxQFXMyq2BRyUV8CEPtjafNajC3NJ73qNCL285Gegh7mnncf+lC +Vb6k5XfaMiC89MThde3lWR7DY/9F195RoPx4bzHih/YkJCGz6g/kj8rbtVqsioesqNH n/cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CI/mn7yW"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a656a01000000b00565e8e9a21asi7881715pgu.82.2023.09.04.00.57.43; Mon, 04 Sep 2023 00:57:55 -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=@kernel.org header.s=k20201202 header.b="CI/mn7yW"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236407AbjICKfn (ORCPT + 99 others); Sun, 3 Sep 2023 06:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235800AbjICKfn (ORCPT ); Sun, 3 Sep 2023 06:35:43 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC8B011D; Sun, 3 Sep 2023 03:35:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 83833CE0959; Sun, 3 Sep 2023 10:35:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3430FC433C8; Sun, 3 Sep 2023 10:35:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693737334; bh=CYLpYPeGI0w2m5LfccnFlQeF/v6+pPHDIGG7jNrSsZ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CI/mn7yWXPnP/4PvuIH1bU7XkTkW8LhN0omDP7SzOy/bjg/rweAwiVpsrZzlgK2j0 E8pi7cxgYE1dA3HQHOMa6vDX8yu9wyoRpVkP9y8p1e0VxZ+5edPc49Kqk49SGaS65x CwKiHwtNtegMCCF8tRAyPys9TlqTQK6wvTQrcERIxKzydo6xdmiGWcoUTZsQN4aK+O QrE9k2y0FXC7olLXJnxj7UIU0bgY3x+ZfyjiQjsD5ftzlT+fJYrK4HxRfAWPNbBemA yX78sOv7qA6BkVPa+JQUKWkETB1M/JSUqLK7WMHsaynzF1ZCpflrFUJnR6iyOVqLnT gz2IfX2s7eLXA== Date: Sun, 3 Sep 2023 12:35:30 +0200 From: Andi Shyti To: Wolfram Sang , Justin Stitt , Nathan Chancellor , Nick Desaulniers , Tom Rix , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Cc: Andy Shevchenko Subject: Re: [PATCH] i2c: pxa: fix clang -Wvoid-pointer-to-enum-cast warning Message-ID: <20230903103530.cdg4ehf4fas4mjbf@zenone.zhora.eu> References: <20230816-void-drivers-i2c-busses-i2c-pxa-v1-1-931634b931ec@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Hi, > > There was some discussion [1] wherein it was ultimately decided that > > this warning should probably be turned off (contrary to what the title > > of the GitHub issue says). > > I totally agree with your last comment in [1]. So, I also vote for > disabling the warning. Thus, I will reject these patches, but still > thank you for looking into such issues and trying to solve them! yes, unfortunately this is the trend and most of the patches follow this approach and they are getting merged. I don't like pointers storing values and this fix whould be completely taken from another side. In any case, given the trend, I will not oppose. Andi