Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1822821lql; Wed, 13 Mar 2024 09:04:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/t3VgrTt1lnsK5cYBbAM4WzYqgqxfleb9O61kfBoeq4PSg0USiPMHRKH4P1gN7IhxZMzerU1gyqdaOHnrw2uzAjvuOoZvyet0PMvt9w== X-Google-Smtp-Source: AGHT+IGdDca8WBiSZzv5VJKuV19uQ51XTjh58cQGqqnzYoU59RFmst9RTOT+X8xe8413+ewre/Uv X-Received: by 2002:a50:d5d6:0:b0:566:aa2:8433 with SMTP id g22-20020a50d5d6000000b005660aa28433mr8699716edj.36.1710345882347; Wed, 13 Mar 2024 09:04:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710345882; cv=pass; d=google.com; s=arc-20160816; b=hTBjdxU/P3zBaWgHEq/xnJSpQzDIZ/a1wf9/hcOeZXxx3rKAKikDCde/AyumxMvx5E Heo5stOqv+y0pzg6MeJcT6tG3cc9mus3pLKuES3blk4BOXRL4S1S6ujr+UjmXIomjQGt 5SM0ZUoLKhFnmdPVsoWSeabCL9Xxsf7fcho73JBs7+3kXO1BYnRZeGqIF0zpVXHI07uw 727A5qYlP5IcQubkkT46J7JCDrPUrotQYSEiL8cW8xiRed8oKCh7Ti8pEYCevJlIXZ4f w10fr+aLZ69eROQVN5TIS0wKiMm3YziMaa8Td3FT/z3ePMiudMpfvekJaqdkr022VRvN FtcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:from:cc:subject:to:message-id:date:dkim-signature; bh=0kMx2fnLG9S7QuFGxkEk0mKxM9IIq52H3BHVY49JHOo=; fh=Oxd1y97fct700/r8W5+3YD3u4XamqERU/duGzxfm72A=; b=t3KqG0Mqf59sMjzY89r7RIs4mXBiQI6RC53X9tzoD6VrjBCiYfKS+l62ISSPISTpxJ vlhkiJiwnbBTQy5fxHu87cr8psxmmxFCZBrkHgin7KbmZPaH2d/bXyeuLbyAM4J6hrzM JPxZar+4i6TY7kbzCmALimMg+tYq99amOeJwVqD/28FYC/2if0r4VQeGu5MbzKpUgEjF zE+/zxChfl0V1g8L1pWoFhwcq2i3exsuu1JSymyb6rRaBHpfVn61ahTRF3kgUZKaFqzC I8j7QJjo4+0KU1t9IfoQdWzsLeu0Btrq/MCz2DYRkGWr0kRYqmHr3HDTwEdwW7Zr5bK1 c+Mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=eLwSR1m0; arc=pass (i=1 spf=pass spfdomain=walle.cc dkim=pass dkdomain=walle.cc dmarc=pass fromdomain=walle.cc); spf=pass (google.com: domain of linux-kernel+bounces-101713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c14-20020a056402120e00b005682d4ce592si4499062edw.569.2024.03.13.09.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 09:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=eLwSR1m0; arc=pass (i=1 spf=pass spfdomain=walle.cc dkim=pass dkdomain=walle.cc dmarc=pass fromdomain=walle.cc); spf=pass (google.com: domain of linux-kernel+bounces-101713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B8F531F2343F for ; Wed, 13 Mar 2024 16:04:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34B27481C2; Wed, 13 Mar 2024 16:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=walle.cc header.i=@walle.cc header.b="eLwSR1m0" Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D5E04AEC6; Wed, 13 Mar 2024 16:04:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.201.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710345872; cv=none; b=I40S6mIvK8RtRFyGMCfU7E0LE40e2IT66tXcbDTBtIj4n4keD+pt/OfpOXTj/kTo32jvfHnm7fOm7xFf237m8cdPGawoj55bJzLF9xrC2GNUpXD1uaIvry8wD5E91yFOwVLdeLDMo6f+hZ2thk0NbqZmi5M1Fsys38vnT4m9AR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710345872; c=relaxed/simple; bh=/21vYs7JnLGOZDeq4wGJbJe7ymO25lDPTNiTyZzXeAQ=; h=Content-Type:Date:Message-Id:To:Subject:Cc:From:References: In-Reply-To; b=Ht/V+UTCZRUZCX2zPcBpKL+KOJfcSJ3hMtnZHzhRPAu0g8JazJCtPLQ67ka4OdlnCwf/Zl9vGWkZ1ps6VYhc0G5HKfZ5SdmJlKvOMxPa8QusWg/RIj6f7oVO6ST6xZL04Z3vkXrp3+xno8e+nxVMj4KCzEOs2XmaaS4WtkoznEo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=walle.cc; spf=pass smtp.mailfrom=walle.cc; dkim=pass (2048-bit key) header.d=walle.cc header.i=@walle.cc header.b=eLwSR1m0; arc=none smtp.client-ip=159.69.201.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=walle.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=walle.cc Received: from localhost (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id B6F8FA57; Wed, 13 Mar 2024 16:56:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1710345365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type:in-reply-to:in-reply-to: references:references; bh=0kMx2fnLG9S7QuFGxkEk0mKxM9IIq52H3BHVY49JHOo=; b=eLwSR1m0Ax3+MWq7PQkwieRJ5WLjMrpCkYqvqfVpaL65dyCaT1FAZqBmqPx/u8RjISDBxU 5ObwEhczI6lUbB+8Py0TwalyHjbKMcgGp6l9KlMpD/I4fD0yxhnE7zezlL0iYZQb3KVdF7 FMh4QrJyBORVs6BFuFjNaWFlcPElHujzL6aszvgArnTOxTm3h5Ln1IynijWqTzB7Em5qGv 9PEWqvYiPKZ9NZ530BysQ+PVnwyM/uJPROHe2Og3mWS2t5cbxuV+F2E94kobaIPKLvnVKS qDarovdw8J6tGH77V2A7a5zd0UGRHhEeq74xiFW/z6iiOEtqcyxukTczpGSTCg== Content-Type: multipart/signed; boundary=ec260765e73bac126ee51ca62d74f74f4bbd22afdb55110dde7cef8988ef; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Wed, 13 Mar 2024 16:56:00 +0100 Message-Id: To: "AceLan Kao" , "Tudor Ambarus" , "Pratyush Yadav" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" , "Mika Westerberg" , "Dhruva Gole" , , "Mark Brown" , "Kamal Dasu" , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , "Mario Kicherer" , "Chuanhong Guo" , , Subject: Re: [PATCH v7 1/2] spi: Unify error codes by replacing -ENOTSUPP with -EOPNOTSUPP Cc: "Florian Fainelli" From: "Michael Walle" X-Mailer: aerc 0.16.0 References: <20231129064311.272422-1-acelan.kao@canonical.com> In-Reply-To: <20231129064311.272422-1-acelan.kao@canonical.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --ec260765e73bac126ee51ca62d74f74f4bbd22afdb55110dde7cef8988ef Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi, I just had a quick look to see where Florians breakage could come from and just noticed this: > diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c > index 849ccfedbc72..e0b6715e5dfe 100644 > --- a/drivers/mtd/nand/spi/core.c > +++ b/drivers/mtd/nand/spi/core.c > @@ -974,7 +974,7 @@ static int spinand_manufacturer_match(struct spinand_= device *spinand, > spinand->manufacturer =3D manufacturer; > return 0; > } > - return -ENOTSUPP; > + return -EOPNOTSUPP; > } > =20 > static int spinand_id_detect(struct spinand_device *spinand) This seems to be random as no other spi-nand ENOTSUPP was converted but just this. Is there a reason for this, AceLan? -michael --ec260765e73bac126ee51ca62d74f74f4bbd22afdb55110dde7cef8988ef Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIcEABYIAC8WIQQCnWSOYTtih6UXaxvNyh2jtWxG+wUCZfHMkBEcbWljaGFlbEB3 YWxsZS5jYwAKCRDNyh2jtWxG++m7APsGW7Jo4lpVFMx2pZX2ivdcG1PCQ8xeW1SQ QsPWXO6HlgEA6GXGBiyJkT1rh+sJTBKn5D6J/jDGAcdt6SCLWtzR/wk= =TR1q -----END PGP SIGNATURE----- --ec260765e73bac126ee51ca62d74f74f4bbd22afdb55110dde7cef8988ef--