From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329AbbDNFMY (ORCPT ); Tue, 14 Apr 2015 01:12:24 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:33057 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbbDNFMO (ORCPT ); Tue, 14 Apr 2015 01:12:14 -0400 Message-ID: <552CA1AB.1050608@monstr.eu> Date: Tue, 14 Apr 2015 07:12:11 +0200 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Peter Hurley , Michal Simek , linux-kernel@vger.kernel.org CC: Arnd Bergmann , stable@vger.kernel.org, Greg Kroah-Hartman , linux-serial@vger.kernel.org, Jiri Slaby Subject: Re: [PATCH] serial: of-serial: Remove device_type = "serial" registration References: <552BE5B8.4050204@hurleysoftware.com> In-Reply-To: <552BE5B8.4050204@hurleysoftware.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H2lFUDnV0FBBFqLJGT2qnRLspEjFNQTEn" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --H2lFUDnV0FBBFqLJGT2qnRLspEjFNQTEn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/13/2015 05:50 PM, Peter Hurley wrote: > [ + Arnd ] >=20 > Hi Michal, >=20 > On 04/13/2015 10:35 AM, Michal Simek wrote: >> Do not probe all serial drivers by of_serial.c which are using >> device_type =3D "serial"; property. Only drivers which have valid >> compatible strings listed in the driver should be probed. >=20 > What does this fix? > Is there some kind of probe problem you're trying to address? > Are you trying to silence the error message? >=20 >> When PORT_UNKNOWN probe will fail anyway. >=20 > Ok, but doesn't device_attach() just continue to try to match other > drivers on the platform bus? Please look at my response to Greg reply. Hope that explain it. Thanks, Michal --H2lFUDnV0FBBFqLJGT2qnRLspEjFNQTEn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlUsoasACgkQykllyylKDCG1mACeLpcigjZSfhLJNx3w7tCtKAYy 5b0AoILVzc2Kop+WYQT+pOCBQtDcwJKj =HSiE -----END PGP SIGNATURE----- --H2lFUDnV0FBBFqLJGT2qnRLspEjFNQTEn--