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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29567C433FE for ; Sat, 5 Dec 2020 20:00:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E41132311C for ; Sat, 5 Dec 2020 20:00:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726264AbgLEUA0 (ORCPT ); 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