From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9172EC62 for ; Sat, 5 Mar 2022 05:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4211CC36AF5; Sat, 5 Mar 2022 05:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646457021; bh=PuVItjNI7IbSDLLa5eTm+DCSzFCt+CF/DvoD47EQg/c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jjpZ96Khqb9/yqF73jW6H3QqtxNUCIo7gFnLz3ZKjsAU60c8P92zJagsutliiHAJp M7pAEwXxsZrqib0Fv69fgswodn2IlhQtgXT7hbJJmYh0jo7IC7sxo0cyq0amifCxhc tH7dHcXk0K6KAaxfdrdu22LAxFk8Xxd9ua9NxEDShcBa97dSs6KZ4CqIoG/MXyWSXW ZchCSbGwawqx3Uj93QL7yAMGskRcIhDzwzad0gNp2VKxX9apgE28HbKdkkKJCSAWUW 80uaAsHxJ3wz4uqHpwyuA9UPhJkMm1pk3S9R8pRsYX0dLeelI2p6v6ZhYmrixia349 as560xcBbpzwA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 25803E6D44B; Sat, 5 Mar 2022 05:10:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: sparx5: Fix initialization of variables on stack From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164645702115.9129.17833451752880754949.git-patchwork-notify@kernel.org> Date: Sat, 05 Mar 2022 05:10:21 +0000 References: <20220304140918.3356873-1-horatiu.vultur@microchip.com> In-Reply-To: <20220304140918.3356873-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, davem@davemloft.net, kuba@kernel.org, UNGLinuxDriver@microchip.com Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Fri, 4 Mar 2022 15:09:18 +0100 you wrote: > The variables 'res' inside the functions sparx5_ptp_get_1ppm and > sparx5_ptp_get_nominal_value was not initialized. So in case of the default > case of the switch after, it would return an uninitialized variable. > This makes also the clang builds to failed. > > Fixes: 0933bd04047c3b ("net: sparx5: Add support for ptp clocks") > Signed-off-by: Horatiu Vultur > > [...] Here is the summary with links: - [net-next] net: sparx5: Fix initialization of variables on stack https://git.kernel.org/netdev/net-next/c/349fa2796e52 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html 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 02B12C433F5 for ; Sat, 5 Mar 2022 05:11:49 +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:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Szhwxabu90pZeOa6WBJLv553YL+dEhTWSTCPC4/xFgc=; b=LDPsfUSH6xAJFA XV2w8z54iiNz4fWytcrsumjlc5sYnwDCgNh3rSS4qrYTJ4k2EVpWB+gKJr8O7K7P2KA6sdCEu4nSV UA3dntpn8P+WKwtHU6+2Vm9THStNeCYRik2KRcf69Gb6KnYUQ2zJooiIYn6INjV6BlkVjGEK/jENI k4ulKmOxA8btczzzHp3Dm+PkAvtVUMAiEz77XIcYJm0Wih059rCY+I+KkLWTShQFoqvJd+Ac5ej8v /2QWDgW+SRAacRiq289Hqt0rvEqqzKZKkHVGPhGCct/d4Iv1YWIPJlPrODxMizmU/qk6mKrRTkL4Y dkO6wHKKPo/fCSEsdoLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQMgX-00ClGs-QY; Sat, 05 Mar 2022 05:10:29 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQMgT-00ClFY-Gz for linux-arm-kernel@lists.infradead.org; Sat, 05 Mar 2022 05:10:27 +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 33298B82C89; Sat, 5 Mar 2022 05:10:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4211CC36AF5; Sat, 5 Mar 2022 05:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646457021; bh=PuVItjNI7IbSDLLa5eTm+DCSzFCt+CF/DvoD47EQg/c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jjpZ96Khqb9/yqF73jW6H3QqtxNUCIo7gFnLz3ZKjsAU60c8P92zJagsutliiHAJp M7pAEwXxsZrqib0Fv69fgswodn2IlhQtgXT7hbJJmYh0jo7IC7sxo0cyq0amifCxhc tH7dHcXk0K6KAaxfdrdu22LAxFk8Xxd9ua9NxEDShcBa97dSs6KZ4CqIoG/MXyWSXW ZchCSbGwawqx3Uj93QL7yAMGskRcIhDzwzad0gNp2VKxX9apgE28HbKdkkKJCSAWUW 80uaAsHxJ3wz4uqHpwyuA9UPhJkMm1pk3S9R8pRsYX0dLeelI2p6v6ZhYmrixia349 as560xcBbpzwA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 25803E6D44B; Sat, 5 Mar 2022 05:10:21 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH net-next] net: sparx5: Fix initialization of variables on stack From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164645702115.9129.17833451752880754949.git-patchwork-notify@kernel.org> Date: Sat, 05 Mar 2022 05:10:21 +0000 References: <20220304140918.3356873-1-horatiu.vultur@microchip.com> In-Reply-To: <20220304140918.3356873-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, davem@davemloft.net, kuba@kernel.org, UNGLinuxDriver@microchip.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_211025_739702_9CE49399 X-CRM114-Status: GOOD ( 12.20 ) 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 Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Fri, 4 Mar 2022 15:09:18 +0100 you wrote: > The variables 'res' inside the functions sparx5_ptp_get_1ppm and > sparx5_ptp_get_nominal_value was not initialized. So in case of the default > case of the switch after, it would return an uninitialized variable. > This makes also the clang builds to failed. > > Fixes: 0933bd04047c3b ("net: sparx5: Add support for ptp clocks") > Signed-off-by: Horatiu Vultur > > [...] Here is the summary with links: - [net-next] net: sparx5: Fix initialization of variables on stack https://git.kernel.org/netdev/net-next/c/349fa2796e52 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel