Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3041177pxb; Mon, 24 Jan 2022 00:44:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2sr8UdaleSsolChWmzgiFLEwsQ/AoBrMe+7j2qZmd/vv3LidydHM0CJufZzbrQ9fbEios X-Received: by 2002:a63:7202:: with SMTP id n2mr11230431pgc.254.1643013841400; Mon, 24 Jan 2022 00:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643013841; cv=none; d=google.com; s=arc-20160816; b=0FJsZbcpa/TX94JUY1LEN43oGwH3NAcd0Fb04tXVQL2c8e46Nt085oItXECxpjAH1A iH7uOyc8WiU9dgbmWZAIpLLPgWO5j55Mc76hqMqUp/IQtmLKijYtSRJHUtD0ipH+K3mE 45nirV6mThD9gp6bHWQCbundhf+osVDNjiPkVunOH0XDQ0b+3x46TtXgCLQDO+HLTfDi MouCIOHaa1gFTOJDvP5NXdpT8UbB5UeTciqW2N4wW71H4szfeSMtBcciQlS8TPSII3Fy 2uw12F1q8qlC2VpqTa31COBvi9JFrkmX6CMpIVOn5+hHIhge1lDt3WcvKrgTAePj2ziz BJHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JZNIiDEQSmwd79XjJ2ese4eK9ZUzfjMQnbbnyHZ+92Q=; b=i7m1IIJapYbcgW0MZKqBT0/d0BCjGpX78TjpTV4g8h4WO93w28WuvqycHrTxckIixZ 0Etfncty6HdW2J2lipawIXLJXm6BALKyXDt+b6fRt0SN59iBiochEgaSqJYBtNZhfbGL fRXD7idX3KhKIRBJ8+okwCBTShedUvkMgGp0Zp0xH+PobioxNCNJ8uOLAitfsH6muoWA AaskU7hEDYsGvtDMkYsMguCr6Z4hR97bEdocv1EkmhK4RMqtQWvDBBXQVxx+1XVQJIG8 GDzaIVeweOun29OIrxifUZveJbieAl7gImFYKvQTT7omLTVkHcF8WJ+mytUutYjgXy8Q UqiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O1oKMEhC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si10947654pgl.345.2022.01.24.00.43.49; Mon, 24 Jan 2022 00:44:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O1oKMEhC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236248AbiAWLsB (ORCPT + 99 others); Sun, 23 Jan 2022 06:48:01 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:58554 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233015AbiAWLr6 (ORCPT ); Sun, 23 Jan 2022 06:47:58 -0500 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 7BC3660BAC; Sun, 23 Jan 2022 11:47:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D83CC340E2; Sun, 23 Jan 2022 11:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642938477; bh=rFp/yN48cpk/ut0/dbyFyGSEUZAJkEo9wRKhftFT/FE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O1oKMEhCdinMIElAVRgvQhZojLlG+2vl61yCRA5eRACYBv5GGsrruXGcmpe3D2Hsm JBpDfbamQcX5tybqmcpeMMgKZAgvXQvcd+fuTjpWBL+lhgDIs8cq3zjYnTb+I+W9W3 Vug5n0+5/HvYhR7NJFw4GTfq8iKSk94g+li5/4TrYAfIIHE/aYd6gOa72Vofqo0sAY +7mPZ1mCBobHGeT5cFI3iTD8aiYl4c42P1dLdLISYeZwix+LCkIFpy/qSbFOe1xOMe 01M5G8Ep5GWnazGONayBMqiE77QBlhIQ54DUo4dBuoIhePo+I3JrWmdpnVsmawTTkl lYiZJ3Em8ARCg== Date: Sun, 23 Jan 2022 17:17:53 +0530 From: Vinod Koul To: Kishon Vijay Abraham I Cc: Swapnil Jakhade , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] phy: ti: Fix "BUG: KASAN: global-out-of-bounds in _get_maxdiv" issue Message-ID: References: <20220117110108.4117-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220117110108.4117-1-kishon@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-01-22, 16:31, Kishon Vijay Abraham I wrote: > _get_table_maxdiv() tries to access "clk_div_table" array out of bound > defined in phy-j721e-wiz.c. Add a sentinel entry to prevent > the following global-out-of-bounds error reported by enabling KASAN. Applied, thanks -- ~Vinod