Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4432306pxf; Tue, 23 Mar 2021 10:24:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxko/5flgGu2yaDex7lCnTrrLqCZ2DoJbSxUjzoNjMnhls8VkZhf395pRTGsl1H7bo5ZOOc X-Received: by 2002:a17:906:6bd1:: with SMTP id t17mr6069136ejs.319.1616520277035; Tue, 23 Mar 2021 10:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616520277; cv=none; d=google.com; s=arc-20160816; b=AUu21QHYUSKwIxApCz4yhVRxcQROW0EVIEIuYkTStxL/52KnzOVoE8Gg0mw2A1HQaS wcaAnaE5h5v/k5UXUVnOrjd9oeOeSDY61zgzNJjBCszQj9bp8xoklgssOClcduYf4Em0 WsxrTnc6pLMsMQr4joD6IK0PPymCT774ZWtvWE/mDpCH4+3VLbZouzMHBQvQ433STeAm Mf7hrvdr6ucpg/B232Zc5uABJUuRpnA5LPH6VBcN/ba8xGDVxA+Q3Tz4odHOGnR68J+a pjuX9RzdIHxYH9+FCaLFqAi7cFyUWDVya3aYCN/vGz/dcAAdxyDCQOYSUD83SmG4/63Y KsJg== 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 :user-agent:organization:references:in-reply-to:date:cc:to:reply-to :from:subject:message-id:dkim-signature; bh=YAyFL6IZIY2oqC27uvurT02K8tPhgIqI61UB1ihbE4M=; b=kRLrDLsI/AMSOZjVO6HOvl3TMMksgRvTpK2cApp6b3CSLwSPk+02I7DU/aS+NvkMKg yIb37127uImgbZ3iMIG7AG0Fdbj2mkQUM4rvjJlzwjJke1jwTNrXoZrMTI41LFjWxW4X GWf+3ckfd4t4lg/uSfx1Xw+RO5a1xfGRCZc/nRA6GBRgKOp6/+fPNJdd0kkR381MVY1U YmJs4z8m2mZcvkfV10O+BlLXWdIe+nK6+sZPp0EOYRJl0i7zvrw+4Kz+3AHs+XsFNNzN jW1uFEAjvioK3BpX4fAIgHQzX6s9pOUxJjwO/T4GifZXknRRNOG5/P+qw1xI219uaF+1 F9UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bmvsaTO8; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si13089493edv.534.2021.03.23.10.24.12; Tue, 23 Mar 2021 10:24:37 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bmvsaTO8; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbhCWRVK (ORCPT + 99 others); Tue, 23 Mar 2021 13:21:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:54969 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbhCWRUx (ORCPT ); Tue, 23 Mar 2021 13:20:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616520052; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YAyFL6IZIY2oqC27uvurT02K8tPhgIqI61UB1ihbE4M=; b=bmvsaTO8VonyT8q5u2lCZ9VkC9vu9S2L9WdPE/fRMu72+nJhE5Pe5u4CATdD6mTEVMMtUf 6DPIKrMomuhAlGZ9tEhDsGjF3MRbTLLAJ0WIwnzhci7Kev2+Z9qie/YCxoiT8A9vH46HaP FW4qq9gay/R77c17FxdAp/YeQ1kskg0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-263-Tx5cGBvlPfatWGCD8DgrtA-1; Tue, 23 Mar 2021 13:20:51 -0400 X-MC-Unique: Tx5cGBvlPfatWGCD8DgrtA-1 Received: by mail-qk1-f198.google.com with SMTP id 130so2485553qkm.0 for ; Tue, 23 Mar 2021 10:20:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:organization:user-agent:mime-version :content-transfer-encoding; bh=YAyFL6IZIY2oqC27uvurT02K8tPhgIqI61UB1ihbE4M=; b=YKszAKuudnV1GguRFwkNPVWzQ8uNYDcJvjAvl+XcOFxFb6qMTxZnbtjSU0rztIMaNX SkOESnUwUNfUxVIGTpAWwye/8cLbm5vu1EzQTR0DLfCdWL+c3Wmkw/CWCTO257E+JlHe qIRa23SMH/zinyxesMvsp1uXyrrYjTOqm4OfifkLY2FZIUTP6hv78+Azt9KzINrhgf8j r+Ow8bxO/AcSLEx1COtHG8qORRosqVOfl+BERaCjJFgZOTXVvxuKdy2Z+NakMwCGk2FD 4TLS53ql8rHq5oylDq0e5DnVpmGiJ/P/07k+Zh8WK6xDAVTAGbxQec0ZMIjxvcdswLT+ 9Ptg== X-Gm-Message-State: AOAM531oKHs/A6/MwGo/tU1/7AteLouK9dJnHHUFRBK0lNSojCMwvZfq +w1YzfEJOib80UpZ4q6Vn1uOWvQDtWQ0+BEk/B4LsfQyGpoI10pKXkVXaUsDchw//rJL+FeRynG 5czTbYInmhXTvgNQXxaVQ7cNV X-Received: by 2002:ac8:7b3a:: with SMTP id l26mr5459629qtu.150.1616520049924; Tue, 23 Mar 2021 10:20:49 -0700 (PDT) X-Received: by 2002:ac8:7b3a:: with SMTP id l26mr5459610qtu.150.1616520049760; Tue, 23 Mar 2021 10:20:49 -0700 (PDT) Received: from Whitewolf.lyude.net (pool-108-49-102-102.bstnma.fios.verizon.net. [108.49.102.102]) by smtp.gmail.com with ESMTPSA id x14sm13757985qkx.112.2021.03.23.10.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 10:20:49 -0700 (PDT) Message-ID: Subject: Re: [PATCH] drivers: gpu: priv.h is included twice From: Lyude Paul Reply-To: lyude@redhat.com To: Wan Jiabing , Ben Skeggs , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Date: Tue, 23 Mar 2021 13:20:48 -0400 In-Reply-To: <20210322124513.130470-1-wanjiabing@vivo.com> References: <20210322124513.130470-1-wanjiabing@vivo.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Lyude Paul On Mon, 2021-03-22 at 20:45 +0800, Wan Jiabing wrote: > priv.h has been included at line 22, so remove > the duplicate include at line 24. > > Signed-off-by: Wan Jiabing > --- >  drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 2 -- >  1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c > b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c > index c39e797dc7c9..09524168431c 100644 > --- a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c > +++ b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c > @@ -20,8 +20,6 @@ >   * OTHER DEALINGS IN THE SOFTWARE. >   */ >  #include "priv.h" > - > -#include "priv.h" >  #include >   >  static void * -- Sincerely, Lyude Paul (she/her) Software Engineer at Red Hat Note: I deal with a lot of emails and have a lot of bugs on my plate. If you've asked me a question, are waiting for a review/merge on a patch, etc. and I haven't responded in a while, please feel free to send me another email to check on my status. I don't bite!