Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp134053lqo; Tue, 7 May 2024 14:56:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6m3CHjzoLutR9yQn/HF9ETvN4t48Y7pUDLTg2zrzCZal2jzh1UaNZXvN2CsSzrG4s0KJYOjfQHy41mto5cIapJLL6PLgvo+gyVhVlPg== X-Google-Smtp-Source: AGHT+IHKqGLph4BhExwklqt7qH2Xqhcr9hqwf6Qh/tZzIC1Q//poEfKLGbeWmVQ67ksBF1vLc9pE X-Received: by 2002:a17:90a:b108:b0:2b2:6de2:cdc7 with SMTP id 98e67ed59e1d1-2b6165c1905mr944469a91.20.1715118969354; Tue, 07 May 2024 14:56:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715118969; cv=pass; d=google.com; s=arc-20160816; b=tODMFx3pWxSYnWYo+5AXPmtsLUWItefae3mSjqrgpE/osVZT0Fx9Wt6Kc7ooTWg34c S4l06OyBm8EdlSYuOHvZ5phqbhR21CsoGzAAmOZP8taMF0natYmjqXZGFegEwpGEGtlb UAMWM+h9vvJiEfH9vASJLUF02xRVcvom3UQaeLW00deztAB5f+zN81dVIufNpR6Q3JD6 pAWGTpS3igzBoMFbcA58AwHKtuVxuG1ikui6J4QB/XnB/yRDBcrUP4Y4ZqS334DCl9Kw hyH0989qP2VMi7VZnW8D4VgN+Y3/5ILHbdun5TgnGg3flFWjNHi3KyhGJUWgloOyGzQK I4sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=9aVxQ4q5lNUyGca+kNcnvsCuZJ8hYb6j5GBaNSUXKts=; fh=DCf0Gu3hEmhTUZEe668rTlx5+qxaMJr/HCBg+CqzyS4=; b=lILTh1UUz3UXdoh1aIEgbmsxPsRU5FAVyi45KCeX8rjlU6jy6t4iysjaBRA5jiG194 1kxNh08tT9/YhSYDfh1ESItSYvmJUeuqdUfcsPfuSlnAl4uSGNazgZIrufuUBkeTakg3 xpQDM0pguyIxSrFoLx8W7VxJWc+MafxqLrrNZAW5NYsvlkzbzVPLGh3xKJ9lTf/IDfv1 MQz33lEZyc24AxphyW2B89RTJY48Tys1yS3CaZNr50G2WRhOgOerG0WlKSrWcMP7rqaN 7FsKBR00ldNqW2p9A5Oa5UNU2C68aOXhXpy9D3/kq3PLE3Yg3DaULEX+6UawYFdq472A uYuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o/1KYOHB"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id kx4-20020a17090b228400b002b43fb30248si6780636pjb.190.2024.05.07.14.56.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 14:56:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o/1KYOHB"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172233-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172233-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F2CEA286E66 for ; Tue, 7 May 2024 21:56:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0098C14B960; Tue, 7 May 2024 21:56:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o/1KYOHB" 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 247B779CF; Tue, 7 May 2024 21:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715118961; cv=none; b=MEKHmbgazCWTQKGwjuiz8BXW0aFsbbhHcy0va25LZh9cp6N1DBN39QvbNtLtcZphBspj5dgVBHbPYlFbEuLEu+iGneKXbkZEiOHsexYhqInRx3Fx4MbmSIFeF4Vw4aAZCfvpH/fbJ3PBU5crEgBKOkVnFPz198QPWobi9o064wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715118961; c=relaxed/simple; bh=XtgmE7RW9wlahHyLbulcXNkQOJlK51jano8uieYSx1M=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=mP2ACx+tU0s/yAmqTF3OfKIqfYkH5tUmhUyw9Wc09X1h9I3Zz0nR20CcMHAoPuY9lD5uZ5KiVZUfzLWUnL2/xmGLXRRW7q3kD3WjyPkkeN376cXGeCj1jwZRka+S8uAfnGobMS0RDpVYfk3gZv0gCQTWMGzlwlJE+7335R7bLzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o/1KYOHB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F2EFC2BBFC; Tue, 7 May 2024 21:56:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715118960; bh=XtgmE7RW9wlahHyLbulcXNkQOJlK51jano8uieYSx1M=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=o/1KYOHBxv5ThCm7bKHpkGfGYlL/hc9Q1xusCkaGhRHjaKSjHSWuIlhPjNgxRc9UL ijiOTEpUsUO4UjDd/cYYg3+Zzp+9BLJrlnWYFS9sxYW0tjraVo7mgp2TAwIW8XEtGN fIEWXCfyD0BDL1k6f2lijsRUA5dmpitma+L1AMjbqn2jIxKAg7r4XxtbyYWvkckYl9 xltMhH2LiarOsObd9yP4OpakImWbs4Q+8KkWx+Enbm1ulkY2PSrpf6QRzoBGMnwXoZ Z/BT8AV3zvKgIvtkJGQo0kf3HKBGGkWqdgry0FeRZYj4fhbt0UKoOsm9InY+6kSVSx MqETlDTIqJLVQ== Message-ID: <53d7ad338f4d3d8f5c6b29c5bb8f9088.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <11be44d3-0f32-49c6-b4ae-ba97a9f97763@app.fastmail.com> <820ddc2ec70780ae1ecd3af864dc8bd6.sboyd@kernel.org> Subject: Re: clkdev: report over-sized strings when creating clkdev entries From: Stephen Boyd Cc: Russell King , Anders Roxell , Dan Carpenter , Michael Turquette , Marek Szyprowski To: Arnd Bergmann , Linux ARM , Naresh Kamboju , linux-clk , lkft-triage@lists.linaro.org, open list Date: Tue, 07 May 2024 14:55:58 -0700 User-Agent: alot/0.10 Quoting Arnd Bergmann (2024-05-07 13:52:59) > On Tue, May 7, 2024, at 22:26, Stephen Boyd wrote: > > Quoting Arnd Bergmann (2024-05-07 00:44:15) > >> On Tue, May 7, 2024, at 09:20, Naresh Kamboju wrote: > >> > The WinLink E850-96 board boot failed with Linux next-20240506 but t= here > >> > is no kernel crash log on the serial [1]. > >> > > >> > Anders bisection results pointing to this commit, > >> > # first bad commit: > >> > [4d11c62ca8d77cb1f79054844b598e0f4e92dabe] > >> > clkdev: report over-sized strings when creating clkdev entrie > >> > > >> > After reverting the above patch the boot test passed [2]. > >> > > >> > Reported-by: Linux Kernel Functional Testing > >> > > > > > There are two fixes on the list: [1] and [2]. Perhaps one of those > > resolves this? > > > > [1] https://lore.kernel.org/r/20240507065317.3214186-1-m.szyprowski@sam= sung.com > > [2] https://lore.kernel.org/r/20240507064434.3213933-1-m.szyprowski@sam= sung.com >=20 > My guess is that either one avoids the crash, but we actually > want both of them since the problem is a combination of the two > issues. >=20 > I think we also need this one on top, to have a va_end() for > each return() statement: Makes sense. Hopefully Russell can fold that fix in as well, or you can send it to the patch tracker.