Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3043305pxb; Sat, 6 Feb 2021 17:49:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4TadKtALHs6x7Ou+DnIYfvddnALCgBUQD/5i5gT2cdrPlXEegAn0jPdj2ABq9h2nV6MVU X-Received: by 2002:a17:906:a295:: with SMTP id i21mr11054309ejz.334.1612662570605; Sat, 06 Feb 2021 17:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612662570; cv=none; d=google.com; s=arc-20160816; b=jBtbDt2gEiHAURiLYKjvIOx1oEBZnIsiMceQkejvhkKrxnbIgQ+bm3JaonFUjNuK3N Skvbe7apvGvrmbksHLZpHxmaf+aPoOPJdlGcIJRftQ/0UJEhDwFtrx0WBMu4z+1UDQ5P P+E6yTmBMTTpPrhEF6HteMi3Iw6WF+kSRpFAfI9ThnN89SqcGvqMkynQNuyGkv/q2qOx yINvFqqwG8RRr/x0cdWPAX7DQHvPI2pCa0ioeNJGPrXGXmxT+E3HjeN9kDlGnPgdVvt5 EQQVa917RjQcSnmJYkWkZOCEFBIm8HREgscYPyjxccDL3K2l4yiEUUKenhLjdTES/TQW i8YQ== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=UOcodyhE36vNMhq5b0qi4z7RJDMmPhWYZvVA5+EV+68=; b=WfKypVuoMBDlS7jabszT4xQfEwwpwwlipvgnCIKr7ElY/XbKAoI5Nuti8LExbNH4KZ bw5Xxv/m7NP3kU7Pg2i/zkk3upbbebDto3JwfNvg/UISO/42UIHgHHO8EdAP3IMAeVtn PXnVC7O7p/n8mQbs0yn4c22SduXhQ+qI8HSVc9JW/Wp7UdrNmlmBIj9WvVgL+aVGzsVp UM3GEPXT7kwd7jq1TQegYIXwSFmEGcX5Hfkkr/uPGOOkYSsGcC4PqrkI8Je8pr9QuP/w vc588LjSLK+i5eX51I6pcRR56omqsmwkN2RQI3syT+kvoO+NUWhOcWBPPN+KRRUsXyuj BxsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="I1A0/qzk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si9404310edv.89.2021.02.06.17.49.06; Sat, 06 Feb 2021 17:49:30 -0800 (PST) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b="I1A0/qzk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbhBGBqQ (ORCPT + 99 others); Sat, 6 Feb 2021 20:46:16 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:13392 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229522AbhBGBqP (ORCPT ); Sat, 6 Feb 2021 20:46:15 -0500 X-UUID: 827f1e2f1488468593be5b168193d73c-20210207 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=UOcodyhE36vNMhq5b0qi4z7RJDMmPhWYZvVA5+EV+68=; b=I1A0/qzk9afNaXia6AWsmFc5zD8zmrMHswca9erF1+Sj5WtfKR/9iqusGc7NFkajs2Krl+ghGOMG5JyYzXG04md0fMR2yKfqxzp2uS2MdsZYHdoFVEFPdbfMMIst9RlOzPT+tFrFN76+HGMqo248uGyQrAlXyzpcx4wA4KGzdTc=; X-UUID: 827f1e2f1488468593be5b168193d73c-20210207 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 591288906; Sun, 07 Feb 2021 09:45:27 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 7 Feb 2021 09:45:23 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 7 Feb 2021 09:45:19 +0800 Message-ID: <1612662319.2524.16.camel@mhfsdcap03> Subject: Re: [PATCH] iommu/mediatek: Fix error code in probe() From: Yong Wu To: Dan Carpenter CC: Joerg Roedel , , , Tomasz Figa , , , Matthias Brugger , Will Deacon , Date: Sun, 7 Feb 2021 09:45:19 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: A90FA4188E79EC868A03301EA33900D9514BD2F174ABA508AF7335354372B47E2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTAyLTA1IGF0IDE1OjQ2ICswMzAwLCBEYW4gQ2FycGVudGVyIHdyb3RlOg0K PiBUaGlzIGVycm9yIHBhdGggaXMgc3VwcG9zZWQgdG8gcmV0dXJuIC1FSU5WQUwuICBJdCB1c2Vk IHRvIHJldHVybg0KPiBkaXJlY3RseSBidXQgd2UgYWRkZW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