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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 062D0C433EF for ; Thu, 9 Jun 2022 22:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345746AbiFIWew (ORCPT ); Thu, 9 Jun 2022 18:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237296AbiFIWet (ORCPT ); Thu, 9 Jun 2022 18:34:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0884232DBD; Thu, 9 Jun 2022 15:34:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5B87761F98; Thu, 9 Jun 2022 22:34:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAADBC34114; Thu, 9 Jun 2022 22:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654814085; bh=dBKNxF1K520/m+yTDNoLaoC08D0Nq4opdmEABWHhV8I=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=XovdbldpQO+DBhq6nk6NN7LeIskhttaZQ2olUiZBz2ZykiYgaOW53ykUJGboadOB3 0rDylXVg8jT9DgReYt+rL5GgocnwP943cnntOyx/O5tm6TTXBcSTLc9tMysKFXmA5O FC4Qq2b2dm52kWEEVHokSqQYCQjH9/8ntHLk/F613pcXVmaDJwHWz43lwSThnE/CZB 3lN4TDvy+qIQjEoS+YtU3UUIAlIpt+HsP+JtOPZAAeBn+vYxCtIchTP6bsIx+SWaW+ iBpeA1Z+BQynXdDWsV2aqmZ4Ovx4JnRf8rAX5LGHK5IeeMcuv3sRw4nP+2wf1ezQJi dA8HiZhXVrtdw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220608021154.990347-1-weiyongjun1@huawei.com> References: <20220608021154.990347-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] clk: stm32: rcc_reset: Fix missing spin_lock_init() From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org, Hulk Robot To: Alexandre Torgue , Gabriel Fernandez , Maxime Coquelin , Michael Turquette , Philipp Zabel , weiyongjun1@huawei.com Date: Thu, 09 Jun 2022 15:34:43 -0700 User-Agent: alot/0.10 Message-Id: <20220609223445.AAADBC34114@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: kernel-janitors@vger.kernel.org Quoting Wei Yongjun (2022-06-07 19:11:54) > The driver allocates the spinlock but not initialize it. > Use spin_lock_init() on it to initialize it correctly. >=20 > Fixes: 637cee5ffc71 ("clk: stm32: Introduce STM32MP13 RCC drivers (Reset = Clock Controller)") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun > --- Applied to clk-fixes 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 B09B8C43334 for ; Thu, 9 Jun 2022 22:35:56 +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:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7j7T3bKjQS/KkNVZeys+tzeMiQXQmDezEEqyYSVeMzQ=; b=y4QnnET6ZemzwV C4D/htngEi/5Tt34BLR6F7kMJ4zaLCsUSo3T55AqjJALpgnQwm0VIdJ7nbeHCglYmD93+wVsji9e4 BZsuk1iHeppgV+SfkXg6UF8EO9QFUHrFhnKqiod90/uia2nayDF7FlYrEzwywxPwyOIIGARtuwZyg UQiPoi2X+XPFblLzcRz5kwiFe6jkOpTeYy9e//eBeENh67jEpKASMc2IsgFVu4CRKBXvSS95DdSsI md1hiKOA/oyxXvpFh+WMBhTrPGj6RrMQbGdpUzTd759SLD9Rzv3X3B0yKTgXdHQmKaGS/jDBorvZV R/o0MsdmwkW7NXVqcWJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzQjr-004Qm7-Fz; Thu, 09 Jun 2022 22:34:51 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzQjo-004Qkf-KL for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 22:34:49 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0C986B8309F; Thu, 9 Jun 2022 22:34:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAADBC34114; Thu, 9 Jun 2022 22:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654814085; bh=dBKNxF1K520/m+yTDNoLaoC08D0Nq4opdmEABWHhV8I=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=XovdbldpQO+DBhq6nk6NN7LeIskhttaZQ2olUiZBz2ZykiYgaOW53ykUJGboadOB3 0rDylXVg8jT9DgReYt+rL5GgocnwP943cnntOyx/O5tm6TTXBcSTLc9tMysKFXmA5O FC4Qq2b2dm52kWEEVHokSqQYCQjH9/8ntHLk/F613pcXVmaDJwHWz43lwSThnE/CZB 3lN4TDvy+qIQjEoS+YtU3UUIAlIpt+HsP+JtOPZAAeBn+vYxCtIchTP6bsIx+SWaW+ iBpeA1Z+BQynXdDWsV2aqmZ4Ovx4JnRf8rAX5LGHK5IeeMcuv3sRw4nP+2wf1ezQJi dA8HiZhXVrtdw== MIME-Version: 1.0 In-Reply-To: <20220608021154.990347-1-weiyongjun1@huawei.com> References: <20220608021154.990347-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] clk: stm32: rcc_reset: Fix missing spin_lock_init() From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org, Hulk Robot To: Alexandre Torgue , Gabriel Fernandez , Maxime Coquelin , Michael Turquette , Philipp Zabel , weiyongjun1@huawei.com Date: Thu, 09 Jun 2022 15:34:43 -0700 User-Agent: alot/0.10 Message-Id: <20220609223445.AAADBC34114@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_153448_840535_EEAD0899 X-CRM114-Status: UNSURE ( 8.85 ) 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 Quoting Wei Yongjun (2022-06-07 19:11:54) > The driver allocates the spinlock but not initialize it. > Use spin_lock_init() on it to initialize it correctly. > > Fixes: 637cee5ffc71 ("clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun > --- Applied to clk-fixes _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel