Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2787657pxx; Sun, 1 Nov 2020 09:57:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlciHJSM8Oh0SCRFsiTVE/IgGsvDy3fxy6/IK4r1NxzRdMCnelJzwFjAk3pie2Vgm2yhfU X-Received: by 2002:a17:906:f0ce:: with SMTP id dk14mr12335064ejb.539.1604253428416; Sun, 01 Nov 2020 09:57:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604253428; cv=none; d=google.com; s=arc-20160816; b=iQcf5AkhWl/onVbILCCgNHXlrCXcN1HIM2Fq+D3tPfldLx2unXH4wU4d/XxO/hu5DT ZK9o3Z45wEVuaYNRckr/DPaaYmDbly4Fu0AQLe0nLWaN8iVoN1uZHcIKXHvG2JS4D3sI ePu6ZA3FNqPEQ7tR2NtelXAcZNScHZOHdyNSXnYR+niyFKju7n8DPRBfahswNW+2j/4C 21mCHjhFeq73hTSm0Cy40epHfE3b0ylqVbB2mVDipRRWvikwkxpAYVpIlBATjNUGWE0r NgmSHC9iLSm2uQJJFdCmXIQB8RSFLvh4684pve4lmmAJoLBEaI6jJuOHGCYJbuNAw+5+ DLYA== 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=WsQvKHHWSLI7xF1JzIgcRmub4R8wiDN5c/q+ZOqQmyE=; b=plhcG7vBef9hnUbUlJ9riHqkzhB2GQHD9uk4nxI35rU5aPlkeSJmV/4/YZoa1faiXr I2elbhdoCr8i7tshzR/RsFP6K11nfCCSgHQDJFp8ZL+a9GXOaa8GrOUIk78QgZwkp7cO A9see5tvsikIjLfOpKOt0abnNB3YvMsMGxLN1dUPupDccvazXXNsyQtPjofpi1rOa1N0 leW1r+G6VyTQ9khyvS6Dr4s85/zXKUAQUfaymX50I+Cv37vywczZUTV3QRGn0XWZIS2X F9taJMnYIu1U5MNShKAx4WhYMCXFnFYVxAXdTuEHl3iMBDy1np1JEQm7rxwRoquD+qTu TPfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AkjdE5Xr; 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 o18si8479397ejd.107.2020.11.01.09.56.30; Sun, 01 Nov 2020 09:57:08 -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=AkjdE5Xr; 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 S1727175AbgKARyb (ORCPT + 99 others); Sun, 1 Nov 2020 12:54:31 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:44588 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727024AbgKARya (ORCPT ); Sun, 1 Nov 2020 12:54:30 -0500 X-UUID: 30b0bc9f02f942c0af83a2f2a99bce60-20201102 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=WsQvKHHWSLI7xF1JzIgcRmub4R8wiDN5c/q+ZOqQmyE=; b=AkjdE5XrtjDDYnMDqjkVFruHTDFUA++eVqDg90UpavXqCy8kcB6I1x/e9GsnpxKdZBSQdNjY/C73R/PRHfdNS5XF8sa50vZHC3QHD8IAVoyGmyJHNDPhDsGXS/myvxOohv17gSCLNbK8DS8I2xMWCFDdpGMmSWkVYhoH/6+EU5k=; X-UUID: 30b0bc9f02f942c0af83a2f2a99bce60-20201102 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1826245141; Mon, 02 Nov 2020 01:54:23 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 2 Nov 2020 01:54:20 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 2 Nov 2020 01:54:20 +0800 Message-ID: <1604253261.22363.0.camel@mtkswgap22> Subject: Re: [PATCH] pci: mediatek: fix warning in msi.h From: Ryder Lee To: Marc Zyngier CC: , , "Thomas Gleixner" , Frank Wunderlich , , Matthias Brugger , , Bjorn Helgaas Date: Mon, 2 Nov 2020 01:54:21 +0800 In-Reply-To: <87lfflti8q.wl-maz@kernel.org> References: <20201031140330.83768-1-linux@fw-web.de> <878sbm9icl.fsf@nanos.tec.linutronix.de> <87lfflti8q.wl-maz@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: DFEE9065E4A27B1C12B5A3B4E528B0D7B43E8E7FB97307B71B385155CFFD21FE2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU3VuLCAyMDIwLTExLTAxIGF0IDExOjQzICswMDAwLCBNYXJjIFp5bmdpZXIgd3J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