Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp368175rwl; Wed, 9 Aug 2023 16:11:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4+RsakSy6UoFOze5/D6X29IfNB+c3xcmhC5G85OSHJOYFlwx89fK/zL8i2Wb+Lm5m+/VD X-Received: by 2002:a17:902:d4c3:b0:1bb:bc6d:457 with SMTP id o3-20020a170902d4c300b001bbbc6d0457mr623300plg.36.1691622661330; Wed, 09 Aug 2023 16:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691622661; cv=none; d=google.com; s=arc-20160816; b=p+c3PnENrMIS8rPSvvwb/4/jKc8ALEQxVZ0orWKayw0qDvJEZyew3qG3uashPgeaKs GL2SrV5H/Ov++k9WrAO7lKHnz8z3Ql6cwDP0nqhDJYdHJgCF1nDRZKP6EE0o8gepswIR 8PzkpM+EhJfjEhTSLAECJA3nb+jEUNf4cuR4nqrtnG+CtsjlFkGkAnz4I207YaspjRfA gym0N8yBkxW3RGO1xrEk8UT95NsxhL+c4cBuOqarMcEBD6KVzHy20HvBBDpXzsaKHty2 /fHWGEtMPZF1lU5mT1fvP3SmMnFyo6ijULfBRoD5zQ1P6puEf4UWNr9rU/mbcCoizFTl 3lLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=f9IA4VRf5s9KilAL2p48TkUCprDEkC/a1VvexeDrj98=; fh=RJ1oGEP+ZGF11M//lho86SN4YwQjxHoIeZltZx6K1F4=; b=Lykr5S7SR9iT+m1aS2b2QLmq9hH85eVm1/G6WPznrm9NJG6WxZVAqSNR8FVrA5duhg mkcjLYlFKUfkWR6bFZakE4zDilrN9ALPFbnPnvgeXZYW13vMDjbs2Z+FNY/RmuJOkxID hhA3G4C1fyUhqyOAwiJ3ZulpuaAWxIeqgJNISGXai7wRKYW+qSxZhU6Cs4K0Zz6UKxLz HkQNl4XrN7Frr8T9+SYyAWkncRZpeCrCPMIiuR7KXROc4KyPkCoNTF5279xz+xG09LDb dqFxKNQvlLko2anIiBxcrw0SV0kOe7WeHFFs+rfXe8D/HP+w/Ow8VYJ+n6IC39wJfIDP /Unw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=dOATPQ7i; 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=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a170902d4c400b001b890b3a512si136149plg.615.2023.08.09.16.10.48; Wed, 09 Aug 2023 16:11:01 -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=@google.com header.s=20221208 header.b=dOATPQ7i; 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=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230147AbjHIVZq (ORCPT + 99 others); Wed, 9 Aug 2023 17:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjHIVZp (ORCPT ); Wed, 9 Aug 2023 17:25:45 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABAD2138 for ; Wed, 9 Aug 2023 14:25:44 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5734d919156so4261377b3.3 for ; Wed, 09 Aug 2023 14:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691616344; x=1692221144; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=f9IA4VRf5s9KilAL2p48TkUCprDEkC/a1VvexeDrj98=; b=dOATPQ7iS0JO1AkunR0tNZolLIVjYX20xMbVpRiVQxbFjNbwKDpDUwmUHtnq1rRLIs rRbW5LuSwKJTXSY3xDE4OLA4ayGjaxlEhEuoRE3YlPGi11TT57pSZtPSHr8godYXp0kw BWXwerfHy7E1qgSv0FlTrmk7Kem16dJ5by84hFfYhgNuhblD0JRUa8g5aFywyUAP4jl+ ZQSLz5U7Wi2slTxcm15/0rbtNUiCuryagC6MkITnPK9FwsVOkSRcOV49s34S6+sTspd3 FcTALFpb6ZrZHorIUhL0kpB9RRzfRqu09Z0Hl/XZLsxu6y4Bd6aJasAzoITLI2Z6DOl0 mNlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691616344; x=1692221144; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=f9IA4VRf5s9KilAL2p48TkUCprDEkC/a1VvexeDrj98=; b=CPFV6yOLJelOUuS9O6JiQ5q4uobUrYOYh8PeDA7he57UdHFUFgHPr+8tCiluXfjuB3 82+v7kLGCRuf3qBjEsBJSrG1qj7IHQar1xbLHp4PuGtpMRVxk8J3uDB3mKVJ4re3NfD0 l0rbwuHyAjMsHAr4Gj5ez2JZJmxqwJm6Mpfi0ePHlCZAtrHi4Lv/10ZhqGOdK8sMx2zP Bt77/gLYpyhbQQk7SYZESJt2lgCqYetYFRYM7BiANmM0QCOSWEKyvVUewGN+X4po6vQ7 ZYgvcsZC8IKMSoPWilfHgzAv13G0MBR/HlSGoBZziklYhbMO9pfa7OIKgCnR2WdOAxRF 0ZhQ== X-Gm-Message-State: AOJu0YzleW91OqfNATLfJBksGV9k5ssc92mriYEaR36X2+IR+D4ZrnNj MoP99P1ci2QXiqXOX7NJSSDtOB7Ft7tLK2keNg== X-Received: from jstitt-linux1.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:23b5]) (user=justinstitt job=sendgmr) by 2002:a81:ae5d:0:b0:555:cd45:bc3a with SMTP id g29-20020a81ae5d000000b00555cd45bc3amr7686ywk.9.1691616344006; Wed, 09 Aug 2023 14:25:44 -0700 (PDT) Date: Wed, 09 Aug 2023 21:25:34 +0000 Mime-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAE4E1GQC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2MDCwNL3eSkHF1DSwNj3URzA0NzA0sTUwtTYyWg8oKi1LTMCrBR0bG1tQC XJFjoWgAAAA== X-Developer-Key: i=justinstitt@google.com; a=ed25519; pk=tC3hNkJQTpNX/gLKxTNQKDmiQl6QjBNCGKJINqAdJsE= X-Developer-Signature: v=1; a=ed25519-sha256; t=1691616342; l=752; i=justinstitt@google.com; s=20230717; h=from:subject:message-id; bh=FtW6hZH73XFuu5e5Bpu5qUCSAUpxVZ9gts49xFeXa4Y=; b=584daAHzX1kV9qkGHNMgA2HBkKPc5hKMsPR4KiLUys8HQpD5yUnwspzdsha0Gy6gZR7BdvZkB p8rXNK6PBvFCdqmnguTz/nBrsuZILkc2amvwPxEbIFpSco/Odd6npVK X-Mailer: b4 0.12.3 Message-ID: <20230809-cbl-1903-v1-0-df9d66a3ba3e@google.com> Subject: [PATCH 0/2] i2c: fix -Wvoid-pointer-to-enum-cast warnings From: Justin Stitt To: Andi Shyti , Ray Jui , Scott Branden , Broadcom internal kernel review list Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Nathan Chancellor , Justin Stitt Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 This patch series fixes two instances of -Wvoid-pointer-to-enum-cast warnings present when building with W=1 Link: https://github.com/ClangBuiltLinux/linux/issues/1903 Link: https://github.com/ClangBuiltLinux/linux/issues/1904 Link: https://github.com/ClangBuiltLinux/linux/issues/1910 --- Justin Stitt (2): i2c: i2c-bcm-iproc: fix -Wvoid-pointer-to-enum-cast warning i2c: i2c-rcar: fix -Wvoid-pointer-to-enum-cast warning drivers/i2c/busses/i2c-bcm-iproc.c | 2 +- drivers/i2c/busses/i2c-rcar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- base-commit: c1a515d3c0270628df8ae5f5118ba859b85464a2 change-id: 20230809-cbl-1903-a70170945853 Best regards, -- Justin Stitt