Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp717713pxb; Thu, 2 Sep 2021 13:25:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGF9fcWcwv/Iob7TkF3cLxMHE3cKzFb7P/qh7f0HieExVbG3o8BdbQCdAalQH5o4cWzkIN X-Received: by 2002:a17:906:8297:: with SMTP id h23mr28948ejx.168.1630614335915; Thu, 02 Sep 2021 13:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630614335; cv=none; d=google.com; s=arc-20160816; b=HSuVhDIbK6tvPZeUmggKgBeuu29s80UKlfVY6d03QnGEsIge9Rxz1SOOE4dWx0bcjP 8KCrpncL+9eJa38ILyshpWHlbvxnUG2JLiHnfLYMIFDqZGXmwavgjuQQC0PvbPuJ05/A 9VFZID4RkGuX6uTl/roYOeWVnqr1tofWvGZx6Aj5qg6JmUjFptC3YQxmkrO2Z4HZ9JNh jz868ZXPVwksuyIEDrZUrNfDFlgb0NdJm3daobH5olin92W+B8k6HKi5z8AyNwHgfwGs D64YhwchEXlQzoyMTIjlodCBvHZZi0fJqjJJrwEFPj6y+Ko38Rqn0ISrd9SnZFUgj3h1 MvVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=gEQCVm2A7TSE9GrvEN9pdzUW+Syizq+Zl3U1ETwKDtw=; b=Ro8Zqz59FVyzZfwc8bH6OCdfEuPF4cHwoEIzIK5fqANI7CBNtYvje1Pad/KUOas2aq J+uxn9/4epKa7sMuNzI5AhQ63oL+MTzrXD9navSUqckdLgtGQFTGGcCDLDEYRXp6sOoR 0O8Qf0AjbUHcrxIRNZB5SLuVvIU94M4uUhFYL+sH4hiOBC6qFPU15+p6vcjkXz83XDNA lqHbKzfmc+x1u+AeYyKvLF/U9hgCLCQNpwYu3EBPdu6LA7Mj/J7zuuvLrttm5HENgzf9 9B+cn/1kgN6Ge3b54MR3KagQ1S5lKnjRA9QQhBczqP1KOaZ34af+NMlQW6wiY/5vkfw1 cMIQ== 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 o1si3746215ejy.319.2021.09.02.13.24.56; Thu, 02 Sep 2021 13:25:35 -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 S1347282AbhIBTK0 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 2 Sep 2021 15:10:26 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:50395 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347140AbhIBTKY (ORCPT ); Thu, 2 Sep 2021 15:10:24 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id B207D1BF206; Thu, 2 Sep 2021 19:09:18 +0000 (UTC) Date: Thu, 2 Sep 2021 21:09:17 +0200 From: Miquel Raynal To: Luis Chamberlain Cc: axboe@kernel.dk, gregkh@linuxfoundation.org, chaitanya.kulkarni@wdc.com, atulgopinathan@gmail.com, hare@suse.de, maximlevitsky@gmail.com, oakad@yahoo.com, ulf.hansson@linaro.org, colin.king@canonical.com, shubhankarvk@gmail.com, baijiaju1990@gmail.com, trix@redhat.com, dongsheng.yang@easystack.cn, ceph-devel@vger.kernel.org, richard@nod.at, vigneshr@ti.com, sth@linux.ibm.com, hoeppner@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, oberpar@linux.ibm.com, tj@kernel.org, linux-s390@vger.kernel.org, linux-mtd@lists.infradead.org, linux-mmc@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/9] mtd: add add_disk() error handling Message-ID: <20210902210917.54eb6e26@xps13> In-Reply-To: <20210902174105.2418771-6-mcgrof@kernel.org> References: <20210902174105.2418771-1-mcgrof@kernel.org> <20210902174105.2418771-6-mcgrof@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luis, Luis Chamberlain wrote on Thu, 2 Sep 2021 10:41:01 -0700: > We never checked for errors on add_disk() as this function > returned void. Now that this is fixed, use the shiny new > error handling. > > Signed-off-by: Luis Chamberlain Acked-by: Miquel Raynal Thanks, Miquèl