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 38102C004D4 for ; Thu, 19 Jan 2023 15:02:23 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wNhI0q87JgnpI8yMbtJBeCRa0R2Llxk7ypSddqbN2zs=; b=HQso05fzxBhiLY AZVLa10nMqfcMhMgeEc+FAIb5LHXc696cNO5cDP8up02z7Q9mqEz55GKAeAhkpn4YGqlaAvXEHf/H U9shYABDiAtMJIopQUUPULx8uifjOS7sZb19LVb5S/ch4gaSb6owl8ZwBcDZBhydCEl/3qaPix0Am 5WD03HdOxEzhWajfMjCm0D4NscPYPaz/8HeepTqLLS6GL9bCt9U69nNNxogDfJLkhIr53CMb0zzuA gnUwAQaLBN7PrvIanXIJjqCitDPxv2SEhlYI0wkdeYoOofmgqjDxtQX9LxHT1vzQJgUl/vUqvfuaM GBADliUnHeikhBI3NuDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWPF-005Vxl-0c; Thu, 19 Jan 2023 15:00:46 +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 1pIWHZ-005T0Y-9u for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:52:50 +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 A4578B824FE; Thu, 19 Jan 2023 14:52:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4C65C433EF; Thu, 19 Jan 2023 14:52:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674139966; bh=pFEkGzZclr313dDw7QOuP7VKAbnZdzWUSenn71Hk3OM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lGjAcHMA3ALVP/Ub8bSHSnMxeSb+mrRUeNLQ3ks/BKM3BYvdkxeTiID7Q+T0ihS9F Et0IullpHEj/1/lCzFmzmEGHj1eVINAd2ExZ/4rD4/aqGBGmo89xe5cZlAmcDJQJ/8 lUMJaZ4yl+PuT1dqIzpA+u0OqzSHKFCEGR1P9FAg= Date: Thu, 19 Jan 2023 15:52:38 +0100 From: Greg Kroah-Hartman To: "Alexey V. Vissarionov" Cc: Krzysztof Kozlowski , Alim Akhtar , Jiri Slaby , Thomas Abraham , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] serial: samsung: fix buffer size for clk_name Message-ID: References: <20230116141658.GC8107@altlinux.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230116141658.GC8107@altlinux.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_065249_573890_C4AB5884 X-CRM114-Status: GOOD ( 11.35 ) 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, Jan 16, 2023 at 05:16:58PM +0300, Alexey V. Vissarionov wrote: > Although very unlikely, the 'clk_num' value may be as big as > 2**32 - 1 (uint32_max), so the buffer should have enough > space for storing "clk_uart_baud4294967295\0". > Also, the numbers in clk_name are expected to be unsigned. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: 5f5a7a5578c58852 ("serial: samsung: switch to clkdev based clock lookup") Please fix your scripts to use the proper number of SHA1 digits in a Fixes: line as the documentation asks for. thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel