Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3459963ybk; Tue, 19 May 2020 05:20:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym3abTx/+9wB0O8y8AGxOkFponaRX4pWD+C5Zwrlent6g+z7MIfaAN50+Y117O/oyrd/mB X-Received: by 2002:a17:906:9a1:: with SMTP id q1mr18312234eje.296.1589890852889; Tue, 19 May 2020 05:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589890852; cv=none; d=google.com; s=arc-20160816; b=ojfsbipc+FfACcE1dkCS8a/gveAnIJb0BN1BVl9RoBrZAh6i5GtMox970TQNC8XDbn 3y3CTDhI80fK9FxICvfWTp4CXMj6p34hmBMxSW4ReE+qV3LcRx7SqeTbEZrfEYh30yhQ iRNKEOtQ9xAdqoU+5Z3ZM3H73wF8jAliIQpDo5N+h56NExpkQZqUnufbtLL/vWI8jd2t JBxsrkJ6ScYHpnptctuVHuxuj3GyF340mjrqwWcy5ZF+9Rb3cca3eIjsDpGQuWOyj2P7 c0aHNjR/nuZ5pbKJ0Bs7NQO9lWAi9dnvxl4OXTdSSyXTQNZMoBTOvmzl1I6t7JBcFlEC 7uWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZJLf9gvjk5rID8lK/Q8pZhTvuvzduG4ka/k2P/t67PA=; b=vFPP/0OwywRa3uXLFxSFGaclCPZIgxCj2Qm7KUakPYN5F2zPtCV8hDJ0CNvbulovI0 4IWU9tjGWlorqP4JmtCzmXirrxEGj/yQHVp9LlglcZHvGws+MCSb2Rb7bP9w95Uk1xjM uO/+kfzfe6+hkZks3JdSHw3vpf8aBVp6NoLxETgyg1Z/cDW6cAPoJytCsPjnuf61JkCQ 9bB40vDrKRYF+EY1Vu8Fj5Hlxs/z2yHG7mnPuHEdLWUm82vn/wId4tnPZW9qbTXvUd2S uTx/DjMQQTHJEbZcmYGlTnd6Qmewb4FQ1GvSsi3QTf9s2NP/vqO50/brlPkVJ6uIlTH5 SV8Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si40293ejy.575.2020.05.19.05.20.28; Tue, 19 May 2020 05:20:52 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728747AbgESMTD (ORCPT + 99 others); Tue, 19 May 2020 08:19:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726880AbgESMTD (ORCPT ); Tue, 19 May 2020 08:19:03 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20A61C08C5C0 for ; Tue, 19 May 2020 05:19:02 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id A4833386; Tue, 19 May 2020 14:19:01 +0200 (CEST) Date: Tue, 19 May 2020 14:19:00 +0200 From: Joerg Roedel To: Yong Wu Cc: Matthias Brugger , Will Deacon , Robin Murphy , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, youlin.pei@mediatek.com, anan.sun@mediatek.com Subject: Re: [PATCH] iommu/mediatek-v1: Fix a build warning for a unused variable 'data' Message-ID: <20200519121900.GI18353@8bytes.org> References: <1589875064-662-1-git-send-email-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589875064-662-1-git-send-email-yong.wu@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 03:57:44PM +0800, Yong Wu wrote: > This patch fixes a build warning: > drivers/iommu/mtk_iommu_v1.c: In function 'mtk_iommu_release_device': > >> drivers/iommu/mtk_iommu_v1.c:467:25: warning: variable 'data' set but > >> not used [-Wunused-but-set-variable] > 467 | struct mtk_iommu_data *data; > | ^~~~ > > It's reported at: > https://lore.kernel.org/linux-iommu/202005191458.gY38V8bU%25lkp@intel.com/T/#u > > Reported-by: kbuild test robot > Signed-off-by: Yong Wu > --- > drivers/iommu/mtk_iommu_v1.c | 2 -- > 1 file changed, 2 deletions(-) Applied, thanks.