From patchwork Wed Aug 9 21:25:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Stitt X-Patchwork-Id: 13348528 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97FE9C001B0 for ; Wed, 9 Aug 2023 21:26:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: Mime-Version:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=v8lLhFPE1KnPwW1AEFTy+6E6FF7giaTGEmcKqxdSL6A=; b=ZEu ix/BpMGib67wcJYPmuysNf8/Gs70jlH/XUe/U+ssuWyG9Eh11MEla+J9RnrQcU6474s7uxhknJWT2 e7ptv4zXfz7X7h2RV6bI//zCF5UP0M5+R2kUC/2z8vLDlXY4ei408w92n1wZx5HgJsDiUA966A4ZM 0mUuQV0aia/7QNFVH1EYNv5P51pX9Wd7+IRsSOhhkY1yJ3qTF2uHy8cu1dGP1Pu+mEAlLwyXsxYHW f4sA+/uBEMORToNTLweuMDuvuHvh0NeB6dVpVx9OSFgiGbdJNtkfBtjQAP+J8LX3A9ANHiFv1et98 bWPEACE5TE9D3qk5AC4mBQ6guQuGK9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTqge-005t3a-2U; Wed, 09 Aug 2023 21:25:48 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTqgc-005t2f-0z for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 21:25:47 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-569e7aec37bso4287057b3.2 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=edaxRkJZH28t2VZALVYuEFRiQZ5Wnv9xN4jwHyp9dNph8aNLuGvx7Mb13r0V9BbT5x z3lSZkUPoXksq/LSk7LJ4hdyi24j9+U50gM0oddievPzfyF4nb5mGxcOyaFPhdolCZGe 73HUgtjjKuGfhIrumHLc+Y7C/GtrUIh0lYN7JpnpAPAy7m8eGMhY70NK1tHENu/9BNaE KfSwgGiwttgZUbmu04FSy4NTIR5CSuZbEaf+7TyXTpfuDHwnajh6VwGXxjqZCLqsc8cH frYmpNwObG3V2OqA9HcjmBeWecMUy2cbqku755JJwAUvf541WqKs6m4hFs/rlyJRP7hf whGw== X-Gm-Message-State: AOJu0YwmH9qETA9fo65o/y7q92UD5XsUx6Cg4BsdGq+VlVb6ku/U78gC z7++KTnU8JnES6ibuE6N+ie3mVvNKL1P12tnZA== X-Google-Smtp-Source: AGHT+IHmWhQRw7zjLbA6uwLJAyfMzKym8d1VFdTg3xFVzdhsVwo+jvguNBI/0YxEPsma+8E69eIZjuvHAaG/iklJmw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_142546_345269_D81AB5A0 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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