Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 024ACC433FE for ; Tue, 23 Nov 2021 16:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233400AbhKWQzO (ORCPT ); Tue, 23 Nov 2021 11:55:14 -0500 Received: from mga01.intel.com ([192.55.52.88]:21246 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbhKWQzM (ORCPT ); Tue, 23 Nov 2021 11:55:12 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10177"; a="258933897" X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="258933897" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 08:51:59 -0800 X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="456750297" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 08:51:57 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mpZ1O-009qLj-6M; Tue, 23 Nov 2021 18:51:54 +0200 Date: Tue, 23 Nov 2021 18:51:53 +0200 From: Andy Shevchenko To: Jon Hunter Cc: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-tegra@vger.kernel.org" Subject: Re: [PATCH v1 1/2] spi: deduplicate spi_match_id() in __spi_register_driver() Message-ID: References: <20211119173718.52938-1-andriy.shevchenko@linux.intel.com> <1572a2ff-dcfb-422f-c4c3-5a454a36d31d@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1572a2ff-dcfb-422f-c4c3-5a454a36d31d@nvidia.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 23, 2021 at 03:22:38PM +0000, Jon Hunter wrote: > On 19/11/2021 17:37, Andy Shevchenko wrote: > Following this change I am seeing the following warnings again although most > of these have now been fixed ... > > WARNING KERN SPI driver mtd_dataflash has no spi_device_id for atmel,at45 > WARNING KERN SPI driver mtd_dataflash has no spi_device_id for > atmel,dataflash > WARNING KERN SPI driver spi-nor has no spi_device_id for jedec,spi-nor > WARNING KERN SPI driver mmc_spi has no spi_device_id for mmc-spi-slot > WARNING KERN SPI driver cros-ec-spi has no spi_device_id for > google,cros-ec-spi > I have not looked any further yet, but this appears to cause the SPI ID > match to fail. Looking into the code it should be harmless warning. I.o.w. it shouldn't prevent driver registration. In any case I'm about to send a fix, thanks for the report! -- With Best Regards, Andy Shevchenko