Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8020879imu; Thu, 15 Nov 2018 05:26:21 -0800 (PST) X-Google-Smtp-Source: AJdET5fykWeNydy8mi8fuuroBikVpHs4QvCgVhkddYBQtgQV4ojYzV0vGHiSTGRY4vMnCuwk8ZO2 X-Received: by 2002:a63:cb4a:: with SMTP id m10mr5561895pgi.105.1542288381162; Thu, 15 Nov 2018 05:26:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542288381; cv=none; d=google.com; s=arc-20160816; b=tn5NcX1jMRzrTILY4Ftao/3uFqIeEzStrGih42u0iXAiHRpSogBSLBQ76kpiC+qq5W yNT9ss/WVI0nyOc50H0H0cKCwoR7a9yK++8eYh06BXrTS7knv6p2Evp9AZFX2k2NhISZ L/pBIo9Wt+2U1nZfZ8O9qtSNM7/q42sjlqpES42kiK0i/dBUMmFTutlwDhPcGI7eJl0R kj2UO3dPq5sq2zQ0x8ZXDSfSiUcULa5k0FMcwFwRUxOy+eGzxmdT9UlBIGsoS3F95/oD hhxp6P/vxYt4nz9RWa/qUqyW+9H4MstL+u/i1CqkxeLE/Y4kbcuFsbjjnsQJWoTPgPeG 3LeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from; bh=K5462UD7vM/3vx7ZPMDb4ztBCtI4abKiKQtyX2cCLo4=; b=QtVtHs84kP3YJayR8Xbs3Q3bNXOGwQt8xmR6b0PDYanjClVr2oILKz+o51GuZg4DNL Ah06UHLNuPt5bB8eM4N9UMLeBaDYqey6QZAcuevimbRlY1i1vnpWxPCTb0wRggufhUDl UizPuD7xugT91flnagHY7k0gYx/xPAo/uTBXGUOb0GwqSASn1JJ1IUrWjYZ+7WYG6T7V 9uznjLealHU5ar5MRLvR+SS3k7qb8B7toWZ3boV7g/m8UCbeJLMOEnA98v5D2b7z4IkA exl8YztB/jZPsIr/17Fjz4eAjw0GGioWBbTelZqmso2R1EouJuCUCLpUCOfGvrljsaUw d+hQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i20si7654131pgh.187.2018.11.15.05.26.06; Thu, 15 Nov 2018 05:26:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388378AbeKOXdP (ORCPT + 99 others); Thu, 15 Nov 2018 18:33:15 -0500 Received: from mail.bootlin.com ([62.4.15.54]:40644 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388360AbeKOXdO (ORCPT ); Thu, 15 Nov 2018 18:33:14 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 385F720757; Thu, 15 Nov 2018 14:25:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id E3B5820510; Thu, 15 Nov 2018 14:25:22 +0100 (CET) From: Boris Brezillon To: Tudor.Ambarus@microchip.com, marek.vasut@gmail.com, dwmw2@infradead.org, computersforpeace@gmail.com, richard@nod.at Cc: Boris Brezillon , yogeshnarayan.gaur@nxp.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, cyrille.pitchen@wedev4u.fr Subject: Re: [v2, 3/5] mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use() Date: Thu, 15 Nov 2018 14:25:22 +0100 Message-Id: <20181115132522.15474-1-boris.brezillon@bootlin.com> X-Mailer: git-send-email 2.17.1 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b9f07cc8207a2a69496beec3f5a5a8372bacdfdc In-Reply-To: <20181109165644.30534-4-tudor.ambarus@microchip.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-09 at 16:56:52 UTC, wrote: > Don't overwrite the errno from spi_nor_read_raw(). > > Signed-off-by: Tudor Ambarus Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks. Boris