From mboxrd@z Thu Jan 1 00:00:00 1970 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 9ECEEC54EBC for ; Tue, 10 Jan 2023 21:45:06 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Iz1T+FnbJi1OZ5x9qppBbsWpOA3tjKAaoBwV57D4Nrg=; b=oYdQXnY7Ck9MO5 I9lfPWRxDRABU+x/kEdx3JEZih3Ocg1o4ZuuXP0RNA14CzD23vi+2swj9+D9BXAJWQEWnWg5ZuV1v dobaG4ATlOx3SU8r+amFdB6THvBKEx1650G+2JZUTNYmbdYLYJc+8yC7fc7tCcn/w3+8Qj6c5R/mT lV9dDFGMNln8aPOnfTl70NIXavLZpzLFydNvu3J50kTvVtCqagAXWIWChADP71wnK00qAWqZNijfD k1fp6i7gEPvzYgd1BFTOyjFxPOxUe1Y+AineJcFFnBneQzjZNltoB4UnqJUfX5VphyVNRViGPvkL0 4jrEgoJVsFwIC63Y4Y+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFMPn-008eT9-5A; Tue, 10 Jan 2023 21:44:15 +0000 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFMPj-008eRG-4L; Tue, 10 Jan 2023 21:44:12 +0000 Received: by mail-qt1-x831.google.com with SMTP id fa5so6819421qtb.11; Tue, 10 Jan 2023 13:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pdpe/6jPv5LhBy5kDMNXinVGtN4imclCqJns2Y9IUkE=; b=aj7/+PWHevF4DLZnzCoBBYEa9NPwxAhaYi/BxCZLZcjAmEdqW3WD3ngDiLmr+Q5bt8 eLaVcMEBiwEoF1hjJwLJmzRH7n5Y6oqlSTKaWP0bLvu4MOeIVfPbg94bIepb3M/AKXYx WOe5kPxFY8HLfOWnjLWKc41yT6Cv6bg015ntqOKUkr0W1JUP4T0b+s4dbwRtH8ZSs3qP anb9EL0rQ3WjFriGW8AaVPeNnbX1gjmO2TZzi6G5DHK31w7VHsbbQ5vccZZk2R9vv9A8 SKHVh6k4ivDdpnIZQhJpfy3Hne6RCUMWkfQWht6QHfReAYJKcsyNk0YrV9EB6LHgyAgw MWwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pdpe/6jPv5LhBy5kDMNXinVGtN4imclCqJns2Y9IUkE=; b=DvmTT4FpIELxE4IXPo/77Dn/42Ae6RsEFKpNpnqkJueLMdIunFdrow9gnBcrPCe/Cu /VWvFqncpfMAzUl0W0We5BUtYSeo5Pf6K77yLLSg0WAO14G57bp0z2Gc54Rzn8RLZ6Bo 3VBymKjCM+KFg2mgnU/biTxuyCF3Y+b8oOwLwqPYo1HAqkvhR9Cqm51W+MJDGJTaCJQ8 NxTrAX6iJxoJIsuXmGVLSQPGxV6gVD7FzYzdZA6Kqpi+1Qlf7tu7bGNXGP9+A/AwVwRg /wC2W+4XdO3NPF9P6EX9J2ZJ2KtR7xP0AqjJDvmRDSzIXwlOgwX++8Z5YD5+7wWEW/Lo npsA== X-Gm-Message-State: AFqh2ko4fLl5Hr+5dmHk8p16/v3l0JmAByoO1jadLMxvky8VSk+M5FKj X+SLCSiWLkNXpGPfQqjuiZldo8PJe5Y= X-Google-Smtp-Source: AMrXdXt75MnBwqRVu5c6o0EvvpMgS1q4Ruewt+fJXl5ecfxl1H3UJFj/hnAQxdq/h7MSgPnCBnYg5Q== X-Received: by 2002:ac8:4b7c:0:b0:3a9:756b:3db9 with SMTP id g28-20020ac84b7c000000b003a9756b3db9mr87481891qts.45.1673387047968; Tue, 10 Jan 2023 13:44:07 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id m5-20020ac86885000000b0039cba52974fsm6607178qtq.94.2023.01.10.13.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 13:44:07 -0800 (PST) From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , Ray Jui , Scott Branden Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel test robot Subject: Re: [PATCH RESEND] firmware: raspberrypi: Fix type assignment Date: Tue, 10 Jan 2023 13:44:05 -0800 Message-Id: <20230110214405.1006458-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230102115255.17802-1-maxime@cerno.tech> References: <20230102115255.17802-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_134411_185337_1E871BA9 X-CRM114-Status: UNSURE ( 9.00 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 2 Jan 2023 12:52:55 +0100, Maxime Ripard wrote: > We silently cast an unsigned int into a __le32 which makes sparse > complain. Moreover, we never actually convert endianness between the > CPU's and the expected little-endian value. Fix both at once by calling > cpu_to_le32(). > > Fixes: 40c31955e4e9 ("firmware: raspberrypi: Provide a helper to query a clock max rate") > Reported-by: kernel test robot > Link: https://lore.kernel.org/r/20221116091712.1309651-3-maxime@cerno.tech > Signed-off-by: Maxime Ripard > --- Applied to https://github.com/Broadcom/stblinux/commits/drivers/fixes, thanks! -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel