Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3370241ybz; Mon, 4 May 2020 01:30:14 -0700 (PDT) X-Google-Smtp-Source: APiQypICgCDTQ7jCLNg9eHQFtcLKHkJO2Fyw9l+nSQoNkLBYXO8+Y8zLd28F0JJvxlNAygDC2Icl X-Received: by 2002:a50:d596:: with SMTP id v22mr13248871edi.91.1588581014486; Mon, 04 May 2020 01:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588581014; cv=none; d=google.com; s=arc-20160816; b=wKQKELLyVcKqO8KT4IUI/ISspz/T9gihAU0GV4z4o+zg/6YtxJDuK8AZsxxYd3R7cE m/+CQLOu+GxF0kVQUv+2cXp2LLNgK3P9DoIeDmktU7Oug2zrChHeRL857HoK+UoBnFHD YmnKE9dIE7Et87AYLjz/pv8yo8PF/ieXM88nQ3ntbIhUxgcD4NDJJo3HHD6pBDZPYLKK 4RAU/ukKdwfOPqI5kGsthkgfFVsr4WHf/CJ+aFKctx1oMAA9uRmS53WZ77WEXHzpCv2R d1Wap6oZzA3PnqYEoorN0pDFqzUoRaIE8pdHjTqHIil/R7kN1BzNF9jrG51SBayZhFVR 9e5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:ironport-sdr; bh=KeBTYqhlkUWRSLGGslBhhCikfrjXIyiBZryFu/Q7u9Y=; b=eM3X+YGNP9SUvI4DCr4DYN1uNa2KHe/Q8Zk2cRD3szn1qLcmCBe4Y7RAhzRXKTGCa0 /PpBxixGuW/96FMIfLUnLF7KFdDbWam+rij8A5DdhrtAhpYBoOS+7+VnHZYeDSO3A+RO gjUmyfSm/fRtfNOZPxhHq9CtD8xbe8KKtTGVkmbHcpXqQXbNNIRvPXpxX5JQqROsIK2f LRO87ItwRs0zbUJYWnwdgEvM394teU2sm5d0Z97N1utJg1w7an8NT+TYLzJEyr3LxkGS RhTvKDC4Bc1jwab2sNdpmiRiyf2aSpfcINtIDOcOTQzPHcDtcD7d8PWad1vWwfKZj0RV 2EpQ== 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 v12si6312826edy.201.2020.05.04.01.29.51; Mon, 04 May 2020 01:30:14 -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 S1728248AbgEDI2Q (ORCPT + 99 others); Mon, 4 May 2020 04:28:16 -0400 Received: from mga14.intel.com ([192.55.52.115]:33993 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbgEDI2P (ORCPT ); Mon, 4 May 2020 04:28:15 -0400 IronPort-SDR: +mCdMJ4IM6excD4Zcta+Pn1M63fBbkvCeZvyqkZlfuuEdCoteh20yhrCpsZFah4bwqpAcq+KJh C7UKXeNlIViw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2020 01:28:14 -0700 IronPort-SDR: x+KhF7lu6Co6Jif7x56oS8HuJuv8OP63HD7EKQyQmkwnWkklUnsbV/A8uVmVQBJ4LS4/UrfIWf Z5sxHB7yC0QA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,351,1583222400"; d="scan'208";a="295436044" Received: from pg-nxl3.altera.com ([10.142.129.93]) by orsmga008.jf.intel.com with ESMTP; 04 May 2020 01:28:12 -0700 From: Joyce Ooi To: Thor Thayer , "David S . Miller" Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Dalon Westergreen , Joyce Ooi , Tan Ley Foon , See Chin Liang , Dinh Nguyen Subject: [PATCHv2 03/10] net: eth: altera: fix altera_dmaops declaration Date: Mon, 4 May 2020 16:25:51 +0800 Message-Id: <20200504082558.112627-4-joyce.ooi@intel.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20200504082558.112627-1-joyce.ooi@intel.com> References: <20200504082558.112627-1-joyce.ooi@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dalon Westergreen The declaration of struct altera_dmaops does not have identifier names. Add identifier names to confrom with required coding styles. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --- drivers/net/ethernet/altera/altera_tse.h | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/altera/altera_tse.h b/drivers/net/ethernet/altera/altera_tse.h index f17acfb579a0..7d0c98fc103e 100644 --- a/drivers/net/ethernet/altera/altera_tse.h +++ b/drivers/net/ethernet/altera/altera_tse.h @@ -385,20 +385,22 @@ struct altera_tse_private; struct altera_dmaops { int altera_dtype; int dmamask; - void (*reset_dma)(struct altera_tse_private *); - void (*enable_txirq)(struct altera_tse_private *); - void (*enable_rxirq)(struct altera_tse_private *); - void (*disable_txirq)(struct altera_tse_private *); - void (*disable_rxirq)(struct altera_tse_private *); - void (*clear_txirq)(struct altera_tse_private *); - void (*clear_rxirq)(struct altera_tse_private *); - int (*tx_buffer)(struct altera_tse_private *, struct tse_buffer *); - u32 (*tx_completions)(struct altera_tse_private *); - void (*add_rx_desc)(struct altera_tse_private *, struct tse_buffer *); - u32 (*get_rx_status)(struct altera_tse_private *); - int (*init_dma)(struct altera_tse_private *); - void (*uninit_dma)(struct altera_tse_private *); - void (*start_rxdma)(struct altera_tse_private *); + void (*reset_dma)(struct altera_tse_private *priv); + void (*enable_txirq)(struct altera_tse_private *priv); + void (*enable_rxirq)(struct altera_tse_private *priv); + void (*disable_txirq)(struct altera_tse_private *priv); + void (*disable_rxirq)(struct altera_tse_private *priv); + void (*clear_txirq)(struct altera_tse_private *priv); + void (*clear_rxirq)(struct altera_tse_private *priv); + int (*tx_buffer)(struct altera_tse_private *priv, + struct tse_buffer *buffer); + u32 (*tx_completions)(struct altera_tse_private *priv); + void (*add_rx_desc)(struct altera_tse_private *priv, + struct tse_buffer *buffer); + u32 (*get_rx_status)(struct altera_tse_private *priv); + int (*init_dma)(struct altera_tse_private *priv); + void (*uninit_dma)(struct altera_tse_private *priv); + void (*start_rxdma)(struct altera_tse_private *priv); }; /* This structure is private to each device. -- 2.13.0