Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp343006rdb; Thu, 5 Oct 2023 07:34:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmTvC6a8WDcRypZM/cCyRqOHm1AwoxrWbveRyOVnxwxGgEWhkIq8O/acEdcCPUq7fU2ru0 X-Received: by 2002:a17:903:187:b0:1c3:749f:6a5d with SMTP id z7-20020a170903018700b001c3749f6a5dmr6502659plg.4.1696516490458; Thu, 05 Oct 2023 07:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696516490; cv=none; d=google.com; s=arc-20160816; b=kpqd2wXK+/ZY0ka4syXKnSgo8I7J5P09CKwlGYm68BV9lrze0PWZaZSJEmz80JCOgx uB6bezkboRKte3hZ7npJ6e3lRfmeTD4fOVr+VgTaSEChx6SA8yhoxynsh+hmvvB34vxG deluK1KrgRl325zZ0S9qC3GUrGJ993ujiF4EIUNUp6GKD1ZyoXwicyechMRpx3IVjFZg EXkW6kKZomAFlG/tDQ7pvZGJoij4tvlEslNnAMn+P/niN1LIXKq8/UaJAPooyR/v4Hlv m1kcrxt/9ofYE1yDmNHhp6gtzM9sV7VDFWW0m7jtfLJuALh3o89LdSIREWl/dm1DbNK5 De9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fa+3V+RjDwScroaZn2HDIfhsIqaEY/eA5F1fZOXXGAk=; fh=hYTw6vpb1W/EO1rYHnYzoaJ6ftOlqM7WUPf/keV42Fc=; b=Ucu/xKZKyfzk8J4gIwDn577x255K8kK7amKbE0hp/F6T0PHHqWiGGoSSgq25Hwtpeg mNnjR45PgtYcBigYc3CwarYW7PHfN6LrpAi79DC3O9TyIPoZhxJilSQ/iABUt6T0zPhz Qu3DiR11XdUTeoq6tK8olklgyO7uVG8gbtbozj3kGujxvj/nRx7eQ2aDKVw9RshmtJZ/ W6ykv2h0qHFLIFehHhcJv7BZiBfmQ69aFIGmfIdCAXCprI+qCIj+t5mqBuyCJmuqWWgY uCdcn2k23eISSCJTc82p8L5e5qRwEGIX7ofIFIjxvl3eYvEcV6Rh7wTyFoG8YI0YYECu q9/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YPqctBFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b12-20020a170902d40c00b001c60c109ce7si1483159ple.295.2023.10.05.07.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:34:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YPqctBFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 45AB081BAA71; Thu, 5 Oct 2023 07:34:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235101AbjJEOc5 (ORCPT + 99 others); Thu, 5 Oct 2023 10:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234283AbjJEObZ (ORCPT ); Thu, 5 Oct 2023 10:31:25 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7F927B3D; Thu, 5 Oct 2023 06:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696513473; x=1728049473; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=R/dDDcKZGfPfb/XVYbaUQl8M19BfdQjLxL+jfR/Q0Vs=; b=YPqctBFks9fMn+kccYkeM1f9cnbHWQVZj8dgHfkvCUnAKeBkGJIA/zdx nRcJgjY6Wp+bYAyY2P4krIZoqrMpyQhiCL/LJcdcyra9oLCM872rcsw4r MV5eJXJvWDqik2giKloqjb9Ix8jis2egk69t3HupicaWpFxZMTIbTGCRP BV76Nh7dI7AFAzV3ZDnPKwRSL1Kr2BBePSR1S7ZXmY/LVhoeQnX8OBgMQ An3WCE1j4PnBuixpJsWW9OKtKnNcd9Soekq5kPC7nqqxMWJ2ytIHTczjV CpqDcAUlhlWK+DKyHVdd7Ei1o2uKJdf9E2B2ScFWHk7jpHaPNx5ADBFns A==; X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="387323339" X-IronPort-AV: E=Sophos;i="6.03,202,1694761200"; d="scan'208";a="387323339" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 02:10:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="701593202" X-IronPort-AV: E=Sophos;i="6.03,202,1694761200"; d="scan'208";a="701593202" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 02:10:18 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC1) (envelope-from ) id 1qoKN4-00000002z21-44P4; Thu, 05 Oct 2023 12:10:14 +0300 Date: Thu, 5 Oct 2023 12:10:14 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Mark Brown , Florian Fainelli , Linus Walleij , Ray Jui , Scott Branden , Broadcom internal kernel review list , linux-spi@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski , Hans de Goede Subject: Re: [PATCH] spi: bcm2835: add a sentinel at the end of the lookup array Message-ID: References: <20231004183906.97845-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231004183906.97845-1-brgl@bgdev.pl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:34:21 -0700 (PDT) On Wed, Oct 04, 2023 at 08:39:06PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > GPIOLIB expects the array of lookup entries to be terminated with an > empty member. We need to increase the size of the variable length array > in the lookup table by 1. Right and seems we (used to?) have the same mistake spread over the kernel. Perhaps a helper at some point? Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko