Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1334065pxu; Sat, 5 Dec 2020 12:02:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDaf57Dlt9jG0kuylIbkVGh704E0nwqRd6fQJRZiawu2eIHT+umT3NdIZRSL4kGZZJAL+P X-Received: by 2002:aa7:ce8a:: with SMTP id y10mr11990649edv.264.1607198565089; Sat, 05 Dec 2020 12:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607198565; cv=none; d=google.com; s=arc-20160816; b=olGO8F67yJ0fFIzG3ssxOgg3gIjDt0sKbBhDRUFRFcaqFoWIUuE/iSgfUhUg+H3O55 WlLH6i3HHBTcdtFGO7AN1gkcQcl0G8JyHLJf4+Fs+1XQnGKN/CUz35uv0QTF2s2rOTPN jLiV4WzR6f88XuewAatTih0N5cS0gftx4R7U096nhU1XMFYsE545r0f5mX6C9fP+HpEs zyij8xL6Ellx5cMiVT4dWxocReK2tIASTU+1uSB0iXpfoI1Z4WKc9/KN8nTRkGBKyovS 5camfT6Kg7njwS+3nWS1YFLNhqVAPSuE4enkiDwYJM/lCsp5oKNETiQ1xnJNo0E6txpa HATw== 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; bh=kjQEaZG3KcamzuhQb9oCLQvWgr3+YNi548xlNKnYdHU=; b=I6i5shJCwemYC3u73JNqBO9x5vRtAgCkiY7QSPRhDkiQ8pt26o8BAX7js8owi6CbC4 TnF2AySPPhKB9QDR2bbCHBgeT3OhCvScshgj3BlsYZW3ZD8Pc9Clk/hPuY0q6LaYGxQF wWIAKWAsqwgVJAcM0F3ZjJt0aijsqfkgR14hYf7uQQxtblm6rupCVLYVOktq5pcpL/O7 6WaweQ4BYQO661P4ibGcFOGH7wcpGc23t27KkdJbsU1bl30S23/YKhrOalk7SimPDQ50 yGGtK+OUs27n7YIJjMabeLHdlGXWAw8u0OYwf0itJe5Zxdvs66KTao7iW47WHSbroCHL L28w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk11si5188736edb.594.2020.12.05.12.02.21; Sat, 05 Dec 2020 12:02:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726186AbgLEUA0 (ORCPT + 99 others); Sat, 5 Dec 2020 15:00:26 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:55968 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725270AbgLEUAZ (ORCPT ); Sat, 5 Dec 2020 15:00:25 -0500 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 560CA804C8; Sat, 5 Dec 2020 20:59:36 +0100 (CET) Date: Sat, 5 Dec 2020 20:59:35 +0100 From: Sam Ravnborg To: "Chrisanthus, Anitha" Cc: Arnd Bergmann , "Dea, Edmund J" , David Airlie , Daniel Vetter , "dri-devel@lists.freedesktop.org" , lkp , Arnd Bergmann , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm/kmb: fix array bounds warning Message-ID: <20201205195935.GJ332836@ravnborg.org> References: <20201129200927.1854104-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=Itgwjo3g c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=VwQbUJbxAAAA:8 a=QyXUC8HyAAAA:8 a=7gkXJVJtAAAA:8 a=e5mUnYsNAAAA:8 a=XabvsrOi_kiJB9eJBZMA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 a=E9Po1WZjFZOl8hwRPBS3:22 a=Vxmtnl_E_bksehYqCbjh:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anitha, On Mon, Nov 30, 2020 at 10:19:13PM +0000, Chrisanthus, Anitha wrote: > Hi Arnd, > Thanks for your patch. > > > -----Original Message----- > > From: Arnd Bergmann > > Sent: Sunday, November 29, 2020 12:09 PM > > To: Chrisanthus, Anitha ; Dea, Edmund J > > ; David Airlie ; Daniel Vetter > > ; Sam Ravnborg > > Cc: Arnd Bergmann ; lkp ; dri- > > devel@lists.freedesktop.org; linux-kernel@vger.kernel.org > > Subject: [PATCH] drm/kmb: fix array bounds warning > > > > From: Arnd Bergmann > > > > gcc warns about an out-of-bounds access when the using nonzero > > values for 'plane_id' on kmb->plane_status: ... > Looks good. > > Reviewed-by: Anitha Chrisanthus You wanted a little time to get comforable with dim, so I picked up this patch and pushed it to drm-misc-next. Sam