From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934575AbbDIKZC (ORCPT ); Thu, 9 Apr 2015 06:25:02 -0400 Received: from sauhun.de ([89.238.76.85]:42620 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933328AbbDIKY5 (ORCPT ); Thu, 9 Apr 2015 06:24:57 -0400 Date: Thu, 9 Apr 2015 12:25:28 +0200 From: Wolfram Sang To: Jean Delvare Cc: Sudip Mukherjee , Arnd Bergmann , Greg Kroah-Hartman , Rodolfo Giometti , "James E.J. Bottomley" , Mark Brown , Willy Tarreau , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, linux-scsi@vger.kernel.org, linux-spi@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 12/14] i2c-parport: return proper error values from attach Message-ID: <20150409102528.GC1166@katana> References: <1428492040-5581-1-git-send-email-sudipm.mukherjee@gmail.com> <1428492040-5581-13-git-send-email-sudipm.mukherjee@gmail.com> <20150409071307.GA1166@katana> <20150409113342.5621af83@endymion.delvare> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" Content-Disposition: inline In-Reply-To: <20150409113342.5621af83@endymion.delvare> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > It doesn't really matter that the error codes are different, it matters > that they are meaningful. As much as possible you should pass error > codes from the lower layers. parport_claim_or_block() and > i2c_bit_add_bus() return proper error codes so you should record and > transmit them. Oh, surely yes. I assumed they don't and this series is a first step to fix this. Should have looked myself. Thanks for jumping in here. --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVJlOYAAoJEBQN5MwUoCm2PpgP/1MTplCt+Gjk06kYCV2YpxIv 5zTjJsS43a95yR+TC332DLCI7WbSWwiLY3+5aDWqE7Tzqb8vM6tob0HL4OVEVmyN UZymI9gOBWbjMPGZqE5e37INqojwpiUvByl02st9nTGoou6G+JG4M4Ores5zSwgs n3Z/zSK9bbW/i1MtCtvZ0hdYab0UHrdQ2nrizMBG/PI/w+mcE5iHTOcSB11LvvBL hytC2M7TBQ+rbLCMJf5nh2g7M2K5gZmZw4mXrh9C49fXh4LpINltohM9s6MCqUxi JtoPtf3FK3asim28qcTdhqESJ5qogQBWp5eE6RKY9ELROeMoslComGT0kt0FoB58 SIVChAGFcTQly6TNPITdft0cSGtppQh6tjgrVgDpv3behoBlT2rlwPWfY3Kx37/M JLvg6BguO4t10nUSWedKeW0y88UFqdb3kShV9bQMqHrQ+cyir7L/L3gKZUrx81ku YXWjkAojjk4kS7+IB8zzKAhl9bQOdntsK1oE79E6O+0A2UDfOdGXXJJK8UR+Dq9D /lcXHipIB2+oqcUAsV6GSxxnRzUjS4fCsNXjpuUbziAYDtAk+aVoGc9r12kqd3iH ik1LFz7ONBXmf55Dsf6RwhOdvBmMDmpHwQR/0oN6ah6ySm5JndooGxedwvaSiIk5 DrntpQ2FDo/lOgro8X2U =/a/0 -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--