Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2649831pxk; Mon, 14 Sep 2020 21:01:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqru8tkp/vje1w3l8C/e2awNVEUlHmkp9aUq6bbEF/+ctsA1q0Re7xrdnGf3Ab/kynoQfK X-Received: by 2002:a17:906:ae8f:: with SMTP id md15mr17265136ejb.131.1600142516524; Mon, 14 Sep 2020 21:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600142516; cv=none; d=google.com; s=arc-20160816; b=D4VBHnDWS7Arpzmz564gUEVCbekmikFuaU+abWEF3s1/CmP5y/Ehv3IHilyEQRuFZ0 jC1O8Kyzf+W3t5Erm5FEcU5uJgzEYi+dRhoiljg0386o60tUa5FC6BecvTXYKQJwzAPi 2WloGIGck/+Bbu0Rk45bsN1HQNFE5ePXKzzqAaZx09J0wcxC84w+DsoOsl3wBdv8ISfG z/rzJ7I/tlczf6Rk1M0VhUhAZCHEk8XqyG3eBDJ/hOHPRfHlP2yp0i03dMLqQmT/kTCZ PAUC1Uh4oo/uPwEvWwTYhBV7czM3JbySO/hP9gFh6mwCWf2vXyp1eBG+SdFFFLy1lNIR sM/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Kd64SOC74tP/NkN9zKlLUKoWiM2w+CddqcIQVYSvUh0=; b=xXkzDJFMKwjwcR9ELNe9SqPIu6KRXpxinroKzppJck1F9cbNu3+vJ1y5RgPrBLZomR PntLhc3Hu7EoiWqbMrPnt2PvGZakgnT7OulDYRk1ltS4X/z0tCPYWGt7igwIJnIT+s5g 7P9ikTGSWwpNdZ0zfUudTHqQl/YSzeUOHgWxzsDP7as2yZgk0QhA28kJMxXPgUJwfOZV U2FOMicMYCnjJxgWtHWMVUqUpB8Fh1NoOCBmTnptwyAYjCTms/nvNRuUzgKUtxKszRQn gFksPQqSnHzLJbfGoHTOqraJFf0maNuPXpEsOOOdnJT4plygmXuHU/itM954mAfhHUCO sPtQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si2474125ejx.180.2020.09.14.21.01.34; Mon, 14 Sep 2020 21:01:56 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726250AbgIOD7s (ORCPT + 99 others); Mon, 14 Sep 2020 23:59:48 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:33030 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbgIOD7r (ORCPT ); Mon, 14 Sep 2020 23:59:47 -0400 Received: by mail-pj1-f67.google.com with SMTP id md22so6055850pjb.0; Mon, 14 Sep 2020 20:59:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Kd64SOC74tP/NkN9zKlLUKoWiM2w+CddqcIQVYSvUh0=; b=ryKa+9ddDaTpAMk8boyYnZORGhV5E609RDxE9zllYWKS0Lpx+weyEoNMvB+xFoPUOV Y7PYbb+gTbg6+58AMJ3qnbbzbBB6OZhl9cZEm7sco9qfhofO2TdMsijPDvJTTMUYq5jQ s99yyBVle3DeVsypeLLcbGh0VxGTtr7ScveRK5aIt9LIaL/tsuq0U2Rr/vkZ+/OWGfqV A/p028FbdDGIVfqOZGs9CFEU6SSeCveoGRn8naf+JKGYTI5RNlbDkvXoDXk3MWTCLvjZ 9wxwdOqS1mdnJMiPESTGxccf2QfQcGvSC8UxaUyHwc6tAbOKyWb3EcrMsxYnzPsxmUK9 +8qg== X-Gm-Message-State: AOAM533+66b98Mpt0zfeHrXAlrlROxEQtDCpfIQmqkqpRE8Qe/qXmRQP WtqozWFZG+wm6jEJ5x+vL+k= X-Received: by 2002:a17:90a:62c4:: with SMTP id k4mr2323816pjs.174.1600142386607; Mon, 14 Sep 2020 20:59:46 -0700 (PDT) Received: from localhost ([2601:647:5b00:1161:a4cc:eef9:fbc0:2781]) by smtp.gmail.com with ESMTPSA id z18sm11668396pfn.186.2020.09.14.20.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 20:59:46 -0700 (PDT) Date: Mon, 14 Sep 2020 20:59:45 -0700 From: Moritz Fischer To: Xu Yilun Cc: mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, masahiroy@kernel.org, trix@redhat.com, lgoncalv@redhat.com Subject: Re: [PATCH v2 3/4] fpga: dfl: fix the comments of type & feature_id fields Message-ID: <20200915035945.GC2217@epycbox.lan> References: <1600140473-12351-1-git-send-email-yilun.xu@intel.com> <1600140473-12351-4-git-send-email-yilun.xu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1600140473-12351-4-git-send-email-yilun.xu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 11:27:52AM +0800, Xu Yilun wrote: > The description of feature_id in struct dfl_device is not accurate. In > DFL specification the feature_id is the 12 bits field. The description > in struct dfl_device_id is more clear so we make them aligned. We also > made the similar fix for the type field. > > Signed-off-by: Xu Yilun > --- > drivers/fpga/dfl.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/fpga/dfl.h b/drivers/fpga/dfl.h > index 3c69596..d5e050a 100644 > --- a/drivers/fpga/dfl.h > +++ b/drivers/fpga/dfl.h > @@ -531,8 +531,8 @@ enum dfl_id_type { > * > * @dev: generic device interface. > * @id: id of the dfl device. > - * @type: type of DFL FIU of the device. See enum dfl_id_type. > - * @feature_id: 16 bits feature identifier local to its DFL FIU type. > + * @type: contains 4 bits DFL FIU type of the device. See enum dfl_id_type. > + * @feature_id: contains 12 bits feature identifier local to its DFL FIU type. > * @mmio_res: mmio resource of this dfl device. > * @irqs: list of Linux IRQ numbers of this dfl device. > * @num_irqs: number of IRQs supported by this dfl device. > -- > 2.7.4 > Applied to for-next, Thanks