From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752261AbdB1OCA (ORCPT ); Tue, 28 Feb 2017 09:02:00 -0500 Received: from mail-qk0-f181.google.com ([209.85.220.181]:34991 "EHLO mail-qk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751578AbdB1OB7 (ORCPT ); Tue, 28 Feb 2017 09:01:59 -0500 MIME-Version: 1.0 In-Reply-To: <20170228041857.13292-4-dmitry.torokhov@gmail.com> References: <20170228041857.13292-1-dmitry.torokhov@gmail.com> <20170228041857.13292-4-dmitry.torokhov@gmail.com> From: Andy Shevchenko Date: Tue, 28 Feb 2017 16:01:46 +0200 Message-ID: Subject: Re: [PATCH v2 3/3] spi: allow registering empty spi_board_info lists To: Dmitry Torokhov Cc: Mark Brown , linux-spi , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 28, 2017 at 6:18 AM, Dmitry Torokhov wrote: > Many boards form list of spi_board_info entries depending on config, > and it is possible to end up with empty list. Do not report error > in such cases. If there is an actual case already it would be better to make the patch first in the series with Cc: stable@. FWIW: Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH v2 3/3] spi: allow registering empty spi_board_info lists Date: Tue, 28 Feb 2017 16:01:46 +0200 Message-ID: References: <20170228041857.13292-1-dmitry.torokhov@gmail.com> <20170228041857.13292-4-dmitry.torokhov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Mark Brown , linux-spi , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" To: Dmitry Torokhov Return-path: In-Reply-To: <20170228041857.13292-4-dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Tue, Feb 28, 2017 at 6:18 AM, Dmitry Torokhov wrote: > Many boards form list of spi_board_info entries depending on config, > and it is possible to end up with empty list. Do not report error > in such cases. If there is an actual case already it would be better to make the patch first in the series with Cc: stable@. FWIW: Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html