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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95FD7C4332F for ; Mon, 22 Nov 2021 09:55:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239239AbhKVJ6O (ORCPT ); Mon, 22 Nov 2021 04:58:14 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:47778 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239221AbhKVJ6K (ORCPT ); Mon, 22 Nov 2021 04:58:10 -0500 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 7025A3FFE2 for ; Mon, 22 Nov 2021 09:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1637574903; bh=XbrI8v5SiK/lQTgcd9wq3mq2WEL9a4Q5EFr23Q5MMJw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=dZLy8DdZnNife9klg87unVGKzWJIoRfQB0NaqTHY7sqdB5jj7nNCFS7sTrYvM/kOC CGZhJUKDX5yoSJmk9wbomT4Dzof16bTD63LsH2zGEzMXaUAqWyfeAcw2wQAaxDPrwz pvPSDb/qmeZ3Sln/kepduX7NQ85DaVYeRjOr/szTNbZT+epUT++fHoYQEhnLVnTvcg auseX4tQhYUoBBRsDMljs2/41py2MwCOGvsm2d7rJJO9Ou8Z3OjCf7DPxSjFyCXeET cdiDtO/GsuVX3ITCFOGf30xfyR4XdD6IcMQYQMwvuwhYdmfM+S9o09YTwqL7y9X7GX xn8OHa0G1T93Q== Received: by mail-lf1-f70.google.com with SMTP id bi30-20020a0565120e9e00b00415d0e471e0so6451711lfb.19 for ; Mon, 22 Nov 2021 01:55:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XbrI8v5SiK/lQTgcd9wq3mq2WEL9a4Q5EFr23Q5MMJw=; b=QdEZPLixmHZYHXMuk5tb/aK0ggMa6bVHfKRPbZMXLYOYQmsDGyhXYxHbJksNVvSuwi 581oKK8wwhkb+PsKqY0lKTWWWWQUfD6XuQvaWN34Wjd/i/RjyGox8Qgz8Hqzdng+/YTe gnhA6ei4YiOmB0CLkuoGtumWnok2WuU9AkoD7QWXbEQMy/Dj2qlKb87OknpxfMxERiX5 VZsfdkVYj+NCyfj5Fsq7fAnyMWxctfGBO2h119gvDmaww+B5on8njJI/YEXbopgnn+Zp faiAa+mZVQgfxITrvJNaNxFNyat5ORzP0UBYQF9ZjfRIdjiXiL7NkcZYLC6ePkYDRLhd Xs9w== X-Gm-Message-State: AOAM532QDQ8KB54MGIEHJk8WsOwPmTxd78lGg5Nm78Z1D4QyYZLfVVue yO0sNW+3x4N1jvUtE0szYqWPlatwPX+XUaQuNYJzEQFRj6Hs0Vfbd/UVdMrhhvaF3LHUQ9jqbrJ 3JnF/Pkbl5z6EeRN6q1tVvlBCbkNqvmwNZENwtXkJxA== X-Received: by 2002:a2e:9d05:: with SMTP id t5mr50466600lji.192.1637574902738; Mon, 22 Nov 2021 01:55:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwke2myThe8Gt/0eU50mIFwZeGa186M95bQ6FjvfYp1F25HVbkpTO5cJFBtu8Cq5yDswcSrbw== X-Received: by 2002:a2e:9d05:: with SMTP id t5mr50466583lji.192.1637574902588; Mon, 22 Nov 2021 01:55:02 -0800 (PST) Received: from localhost.localdomain (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id u22sm908676lff.118.2021.11.22.01.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 01:55:02 -0800 (PST) From: Krzysztof Kozlowski To: Lad Prabhakar Cc: Krzysztof Kozlowski , Biju Das , Nathan Chancellor , linux-renesas-soc@vger.kernel.org, llvm@lists.linux.dev, Wolfram Sang , Nick Desaulniers , linux-kernel@vger.kernel.org, Prabhakar Subject: Re: [PATCH] memory: renesas-rpc-if: Silence clang warning Date: Mon, 22 Nov 2021 10:54:22 +0100 Message-Id: <163757486271.327364.15013387046506082286.b4-ty@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211121180155.9062-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20211121180155.9062-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Nov 2021 18:01:55 +0000, Lad Prabhakar wrote: > This patch silences the following clang warning: > > | drivers/memory/renesas-rpc-if.c:253:14: warning: cast to smaller integer > | type 'enum rpcif_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] > | rpc->type = (enum rpcif_type)of_device_get_match_data(dev); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [...] Applied, thanks! [1/1] memory: renesas-rpc-if: Silence clang warning commit: 2602dc10f9d930bcc537467d13de4cfbfaa2126d Best regards, -- Krzysztof Kozlowski