Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2760289pxk; Tue, 15 Sep 2020 01:19:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxW9NeW+SCLxY9PKalIP2AXd/WFkE9qcnX9+gqdgLrvbOPPmWKySA2zdwWlPF/WqN21Wsp X-Received: by 2002:aa7:d8d8:: with SMTP id k24mr20654651eds.97.1600157978380; Tue, 15 Sep 2020 01:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600157978; cv=none; d=google.com; s=arc-20160816; b=oKoMeJhhBztC9viPsXDJiZKeO3J7NOJiVsbJhxUddW8VOGojyBtspfONEVHcDuVdM1 RRP7Yd5DcQf0wsMfE4NW8tHfFrxp5dr6xsTQcM1Puc2wF2G6Wu/CVxLkZvCxI4V4tx1a 9u/K4EZscdTovfZ/BP9JTcNXBq+LgFniGhIOaMbbQczy/WV3L1vQyRclDqa2lCXcpbiu XCHcRBkW32pGhi5XYno5PoYnaofqWQitPZfZ7410n1iMYEYhJKhfx4TdEx9gu0cGag1z 9stkWkq4C7bp/+pREzBxZBii2hN9HmFPf8pOQ+g3tQJS+HVKJ4BzgKTUwT49cR4t2NMl p0Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hFJHKPDnGbv/90zFYuI8gzOFwqCTBH3Xgjn3/FqPdco=; b=Tato67Buz5W+5NPiJ4NJ7zS74WxLiXKSPwmpejGqDIKQEcqChqdoQFZhd9fWuMHr+7 WqRDNb1CD8dAqfVNH9EPDTkAJTM8FX3AMwsl9MdfK2gjcQezEL9kKv5C1brsAobK6I3e Rq/u9uLc+EBax+6MXrS5JhohNgI6GgiTdeqPGv6j6PeqWUY9hUQM/MMXVRuxZHYl0PQy qNFgw3YTUK4Z5djatitBz/Q6S6jbCM/6oV6b5g0rsNbdjBOY+9DtJgwZDcUt01bBFexx 9KvFQKi9pYI/IsCNooE3RPLPwlydnlrHYN2FGzBZ1XgKFS4PWCCOwbLGIpJX0YbnRUl7 ZIDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si8620913ejh.372.2020.09.15.01.19.16; Tue, 15 Sep 2020 01:19:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbgIOIO6 (ORCPT + 99 others); Tue, 15 Sep 2020 04:14:58 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43469 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgIOIKy (ORCPT ); Tue, 15 Sep 2020 04:10:54 -0400 X-Originating-IP: 91.224.148.103 Received: from localhost.localdomain (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5BE8760020; Tue, 15 Sep 2020 08:10:41 +0000 (UTC) From: Miquel Raynal To: Alex Dewar Cc: Miquel Raynal , Alexandre Belloni , Vignesh Raghavendra , Tudor Ambarus , Richard Weinberger , Nicolas Ferre , linux-kernel@vger.kernel.org, Ludovic Desroches , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] mtd: rawnand: atmel: Check return values for nand_read_data_op Date: Tue, 15 Sep 2020 10:10:40 +0200 Message-Id: <20200915081040.15252-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200914214245.14626-1-alex.dewar90@gmail.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: 3d0489c87b9ae6093459539cad99c10a29f1c49d Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-09-14 at 21:42:44 UTC, Alex Dewar wrote: > In atmel_nand_pmecc_read_pg(), nand_read_data_op() is called twice > without the return values being checked for errors. Add these checks. > > Signed-off-by: Alex Dewar Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel