Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3807673pxb; Fri, 11 Feb 2022 08:10:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwab2OsbL+IJDm7agMCqgJZ+h36z5DDBL9Jd+p3JT8fjS0pFVt8jWrpRZoth6iH5LC7gL7D X-Received: by 2002:a63:e63:: with SMTP id 35mr1929558pgo.246.1644595802028; Fri, 11 Feb 2022 08:10:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644595802; cv=none; d=google.com; s=arc-20160816; b=xJSVzr4W6jcl1wTaoOLET1EimHgTjt5rtrCOe9wl9qtv2Pg2lgFOjPdydU13s/ot+A OByzEg51CgRHnGCnFHfDmfHffi8g+UPWqDgqOmjFY82DwuUWkDRBUrzihJBy5MxO23JS 1Domm52wVaPHlG9QXDYhPSC6/5TNcdujk4MP9KQdcFJzEACmQ/9JU+pm8qJfkgGlHLS6 XUZYZyRp+bExjviWRblivsxSFVLXyNov+W4B2awsPp7NOGNcHJdA4tPq3OTbcE9vZBWU PPVqG1Rn/GakmV70lgNPX9vLY+wOkZmgKbNgDqfv6py16XY47hLjU8NLMbSnialQjeXl xPEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=HWMwRqmlunXOwcB+h3TP00RT76rJzgwiDQlFOyaJ0hA=; b=tAdZ7Tk7pKKRnA9K5BsjAGrili47MlNloh3/RnotoNZE3/g85x/fH/AhshA/Vo7jnX tpNbUJb39o/fNFDnApXGiHnLSM6xnzFMRmU07asUdldFiyeIUQva5dHpP4AKm181cmFj c1xvBhV5Kvvc5Vq1ZL7thha8NvStqmYolmnuorFshnKv1eFet9FVXb9jszb0tshQJ+RL M3/PgBA+7Vbih56vo7YHf2E2oJZzSyLNOdph9CvaIN+nt4xjvpmB6lvWGhdGQT6VcYGJ iz4R7/FYWUyY+KKU900L+GIvfJp3hDAj5LMQnPb22v2E8wqlvLRyFWdN4/rk7eKJOYe2 J8mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21si5054712pli.253.2022.02.11.08.09.46; Fri, 11 Feb 2022 08:10:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245517AbiBKE66 (ORCPT + 99 others); Thu, 10 Feb 2022 23:58:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237404AbiBKE65 (ORCPT ); Thu, 10 Feb 2022 23:58:57 -0500 Received: from mg.sunplus.com (mswedge2.sunplus.com [60.248.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 57B312651; Thu, 10 Feb 2022 20:58:54 -0800 (PST) X-MailGates: (flag:3,DYNAMIC,RELAY,NOHOST:PASS)(compute_score:DELIVER,40 ,3) Received: from 172.17.9.202 by mg02.sunplus.com with MailGates ESMTP Server V5.0(3694:0:AUTH_RELAY) (envelope-from ); Fri, 11 Feb 2022 12:59:01 +0800 (CST) Received: from sphcmbx02.sunplus.com.tw (172.17.9.112) by sphcmbx01.sunplus.com.tw (172.17.9.202) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Fri, 11 Feb 2022 12:59:00 +0800 Received: from sphcmbx02.sunplus.com.tw ([fe80::fd3d:ad1a:de2a:18bd]) by sphcmbx02.sunplus.com.tw ([fe80::fd3d:ad1a:de2a:18bd%14]) with mapi id 15.00.1497.026; Fri, 11 Feb 2022 12:59:00 +0800 From: =?big5?B?TGggS3VvILOipE+7qA==?= To: Tom Rix , Mark Brown , Li-hao Kuo CC: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , =?big5?B?V2VsbHMgTHUgp2aq2sTL?= Subject: RE: [PATCH] spi: Fix warning for Clang build Thread-Topic: [PATCH] spi: Fix warning for Clang build Thread-Index: AQHYHichnrMLSeAM6EW6YKfSFQS5w6yMHQcAgAGTjCD//5KmAIAAiAKA Date: Fri, 11 Feb 2022 04:59:00 +0000 Message-ID: <0b71842ec1b946729e74d73cbd354162@sphcmbx02.sunplus.com.tw> References: <691d52b72f978f562136c587319852f5c65f08fe.1644460444.git.lhjeff911@gmail.com> <99ab624e2af4414bb2a785f64f35bd95@sphcmbx02.sunplus.com.tw> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.25.108.51] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WWVzLiBJIHRoaW5rIHRoZSBmdW5jdGlvbiBjYW4gYmUgc2ltcGxpZmllZCBhcyBmb2xsb3dzDQoN CnN0YXRpYyBpbnQgc3A3MDIxX3NwaV9zbGF2ZV90cmFuc2Zlcl9vbmUoc3RydWN0IHNwaV9jb250 cm9sbGVyICpjdGxyLCBzdHJ1Y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