Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1473558ybh; Thu, 23 Jul 2020 09:42:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX+KyCcX9flxcZeybKqLbYKDPPPu7HDAE53h9x08tV1mYkxK+u8i5ei6lmpO2DtSdIIPXy X-Received: by 2002:aa7:da46:: with SMTP id w6mr5148024eds.261.1595522561950; Thu, 23 Jul 2020 09:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595522561; cv=none; d=google.com; s=arc-20160816; b=CfcWyo5lPta2ixc7IyxCfWkIkxvhD9OVpdEx0VG044uoZ4S0rbJdml3iXwCYGDbhhH IrlTuDEKsZsHjIJXSI4z3YHlXM6Y7rahe9Iyyr5p6eA00fUGWEgHXKls2BEf81s+FKl0 Otrl5E7opbe+uni+ZfS7vfoNq7OBQxFdinURhe+rBgHGOAyQ4Q0BUqWysTyvb9Mhpm3G MMCEaJR0W0hr8Y12ryxse765efUYBjZtyIkSc34tuxdPs6wXXPvpJ5qCeqt+k+wlY59g 9mBUtXAncu+l6WVzjCyavX+IIw5vnmK/Djca8toi2ZyzzOkFhCrKl7f5qcsmgDyZz2wi x9eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:ironport-sdr :ironport-sdr; bh=dSgAvhaNQ6Qw9w3ECGNHx/tlLAGl3SpSUJqXki77vq4=; b=HRn0Q9ZqGunmY2vl2B5u4mWZqoIItV7BLPehaYFucZQk3PaGNBDeaeZsISNyIHNIRJ hon6uLvVycc+lLSRBbrMpjgEdCgTKqS0rtBi9yEtqOZjbIxnvPn4JopoGo/rYBn/s4HC YLyRXu3ys7W3L2xEEyoteD7kM1F9MjmDzyK68PREdZfbN3c9PfY+JrPlr2NvsOI6zacF /MUgjrDHMW6WgQZFBq3h0wlZzEWI6IbhyC15Qi79QnGfndr7vbDw7vN/xGWqWS5jZZta u6JfkV17ujbDRAeS+gaiNCbo1xiQyN44ftZ62pMAlAHrJ2GtuV9jVrXou8OjMWk/C6/K CYMg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do14si2865168ejc.39.2020.07.23.09.42.19; Thu, 23 Jul 2020 09:42:41 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729810AbgGWQkC (ORCPT + 99 others); Thu, 23 Jul 2020 12:40:02 -0400 Received: from mga04.intel.com ([192.55.52.120]:13808 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgGWQkB (ORCPT ); Thu, 23 Jul 2020 12:40:01 -0400 IronPort-SDR: Ps6lxktqZPzDG6aOhdjcaafItVwSOONYr5McH+7oR+KDCLfdeBEBavuLPpe+g+xJ/P99HAneEN egw0JG2dSxwg== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="148064756" X-IronPort-AV: E=Sophos;i="5.75,387,1589266800"; d="scan'208";a="148064756" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 09:40:01 -0700 IronPort-SDR: 5GmwT65orXDGe/5uyfIvoLiiaO+4SJDsyX02gvYQXFqHlM1JMTR5mSOVsf/Os6ZLLSLCAm4TV6 06oammawXIOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,387,1589266800"; d="scan'208";a="432797443" Received: from tthayer-hp-z620.an.intel.com (HELO [10.122.105.146]) ([10.122.105.146]) by orsmga004.jf.intel.com with ESMTP; 23 Jul 2020 09:39:59 -0700 Reply-To: thor.thayer@linux.intel.com Subject: Re: [PATCH v4 06/10] net: eth: altera: Add missing identifier names to function declarations To: "Ooi, Joyce" , "David S . Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Dalon Westergreen , Tan Ley Foon , See Chin Liang , Dinh Nguyen References: <20200708072401.169150-1-joyce.ooi@intel.com> <20200708072401.169150-7-joyce.ooi@intel.com> From: Thor Thayer Message-ID: <74536ddf-f268-937a-8d06-f91cbc0879d6@linux.intel.com> Date: Thu, 23 Jul 2020 11:40:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200708072401.169150-7-joyce.ooi@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/8/20 2:23 AM, Ooi, Joyce wrote: > From: Dalon Westergreen > > The sgdma and msgdma header files included function declarations > without identifier names for pointers. Add appropriate identifier > names. > > Signed-off-by: Dalon Westergreen > Signed-off-by: Joyce Ooi > --- > v2: this patch is added in patch version 2 > v3: no change > v4: no change > --- > drivers/net/ethernet/altera/altera_msgdma.h | 30 ++++++++++++++------------- > drivers/net/ethernet/altera/altera_sgdma.h | 32 +++++++++++++++-------------- > 2 files changed, 33 insertions(+), 29 deletions(-) > > diff --git a/drivers/net/ethernet/altera/altera_msgdma.h b/drivers/net/ethernet/altera/altera_msgdma.h > index 9813fbfff4d3..23f5b2a13898 100644 > --- a/drivers/net/ethernet/altera/altera_msgdma.h > +++ b/drivers/net/ethernet/altera/altera_msgdma.h > @@ -6,19 +6,21 @@ > #ifndef __ALTERA_MSGDMA_H__ > #define __ALTERA_MSGDMA_H__ > > -void msgdma_reset(struct altera_tse_private *); > -void msgdma_enable_txirq(struct altera_tse_private *); > -void msgdma_enable_rxirq(struct altera_tse_private *); > -void msgdma_disable_rxirq(struct altera_tse_private *); > -void msgdma_disable_txirq(struct altera_tse_private *); > -void msgdma_clear_rxirq(struct altera_tse_private *); > -void msgdma_clear_txirq(struct altera_tse_private *); > -u32 msgdma_tx_completions(struct altera_tse_private *); > -void msgdma_add_rx_desc(struct altera_tse_private *, struct tse_buffer *); > -int msgdma_tx_buffer(struct altera_tse_private *, struct tse_buffer *); > -u32 msgdma_rx_status(struct altera_tse_private *); > -int msgdma_initialize(struct altera_tse_private *); > -void msgdma_uninitialize(struct altera_tse_private *); > -void msgdma_start_rxdma(struct altera_tse_private *); > +void msgdma_reset(struct altera_tse_private *priv); > +void msgdma_enable_txirq(struct altera_tse_private *priv); > +void msgdma_enable_rxirq(struct altera_tse_private *priv); > +void msgdma_disable_rxirq(struct altera_tse_private *priv); > +void msgdma_disable_txirq(struct altera_tse_private *priv); > +void msgdma_clear_rxirq(struct altera_tse_private *priv); > +void msgdma_clear_txirq(struct altera_tse_private *priv); > +u32 msgdma_tx_completions(struct altera_tse_private *priv); > +void msgdma_add_rx_desc(struct altera_tse_private *priv, > + struct tse_buffer *buffer); > +int msgdma_tx_buffer(struct altera_tse_private *priv, > + struct tse_buffer *buffer); > +u32 msgdma_rx_status(struct altera_tse_private *priv); > +int msgdma_initialize(struct altera_tse_private *priv); > +void msgdma_uninitialize(struct altera_tse_private *priv); > +void msgdma_start_rxdma(struct altera_tse_private *priv); > > #endif /* __ALTERA_MSGDMA_H__ */ > diff --git a/drivers/net/ethernet/altera/altera_sgdma.h b/drivers/net/ethernet/altera/altera_sgdma.h > index 08afe1c9994f..3fb201417820 100644 > --- a/drivers/net/ethernet/altera/altera_sgdma.h > +++ b/drivers/net/ethernet/altera/altera_sgdma.h > @@ -6,20 +6,22 @@ > #ifndef __ALTERA_SGDMA_H__ > #define __ALTERA_SGDMA_H__ > > -void sgdma_reset(struct altera_tse_private *); > -void sgdma_enable_txirq(struct altera_tse_private *); > -void sgdma_enable_rxirq(struct altera_tse_private *); > -void sgdma_disable_rxirq(struct altera_tse_private *); > -void sgdma_disable_txirq(struct altera_tse_private *); > -void sgdma_clear_rxirq(struct altera_tse_private *); > -void sgdma_clear_txirq(struct altera_tse_private *); > -int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *); > -u32 sgdma_tx_completions(struct altera_tse_private *); > -void sgdma_add_rx_desc(struct altera_tse_private *priv, struct tse_buffer *); > -void sgdma_status(struct altera_tse_private *); > -u32 sgdma_rx_status(struct altera_tse_private *); > -int sgdma_initialize(struct altera_tse_private *); > -void sgdma_uninitialize(struct altera_tse_private *); > -void sgdma_start_rxdma(struct altera_tse_private *); > +void sgdma_reset(struct altera_tse_private *priv); > +void sgdma_enable_txirq(struct altera_tse_private *priv); > +void sgdma_enable_rxirq(struct altera_tse_private *priv); > +void sgdma_disable_rxirq(struct altera_tse_private *priv); > +void sgdma_disable_txirq(struct altera_tse_private *priv); > +void sgdma_clear_rxirq(struct altera_tse_private *priv); > +void sgdma_clear_txirq(struct altera_tse_private *priv); > +int sgdma_tx_buffer(struct altera_tse_private *priv, > + struct tse_buffer *buffer); > +u32 sgdma_tx_completions(struct altera_tse_private *priv); > +void sgdma_add_rx_desc(struct altera_tse_private *priv, > + struct tse_buffer *buffer); > +void sgdma_status(struct altera_tse_private *priv); > +u32 sgdma_rx_status(struct altera_tse_private *priv); > +int sgdma_initialize(struct altera_tse_private *priv); > +void sgdma_uninitialize(struct altera_tse_private *priv); > +void sgdma_start_rxdma(struct altera_tse_private *priv); > > #endif /* __ALTERA_SGDMA_H__ */ > Reviewed-by: Thor Thayer