Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3899604ybi; Tue, 18 Jun 2019 08:15:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqysvkAuhGuP/UBNv9DrCe4DwSm7XBqGr3NJRICMNXDuVXkyYUE+itERBwBTfGbMtSOo/8OC X-Received: by 2002:a17:90a:1706:: with SMTP id z6mr5537650pjd.108.1560870940847; Tue, 18 Jun 2019 08:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560870940; cv=none; d=google.com; s=arc-20160816; b=smwaMGV+IKhZUvx9dvY8lOQLYAfPJd4VE3dpF+BqTFBh0X0CJbuUuDXRznO4WRASsc 0obSTRww+CqP069CCsSx/hkEV5argDe48jjpo1585gMhGwXem6W0s1DCYEJ6IRLp5abs WgGW/XLvE/t7ZTzuESK69mWkduEuhsDMtbKtFQzbz1EG37kulSRp+38/4IWQRnMCRl6l 59vXX3X+AlhoqKyfEMXf1zRHJH8vUYj5X5HZ2DC5AeAJcRMQb3wBXtr4QAmt7Utux+Sj nnTa7hE0F+Cwsf+/Jg25HSAy2jfN3BHCECUhfdVi1rrLs1agvo1AyvV3+vGMhjA9Nja2 hDyQ== 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:mime-version :message-id:date:subject:cc:to:from; bh=41eWkQCUTJX1m1J26k5Erbwqzuf6jqFvluJBTHvmanM=; b=VdccJrvcdLJUCYdHOU+B1SRlnBKppRJT8KUlcB5wgd1mTSZ8WQW0vNQc25Ampi1/cr xs38gdt0gh4kgTofB67IqUbHt8WOafhB4+TpTg4e9JTEtonaA65F8bfRs7lkFdXXpct9 UHx3Ak9txWTvhStoH3mdbY1jMygo40qKjFPlbvqkTKMlAGgjBZj98b/usqUlnXWfCPIF Gfj0Nsx+eYs5+7pXDfJ6z2O2rkiH0SxHg8+PLM3E6V9nlxQTvzyuLokHf0feNBIJFtOF lUnkDoJNIafiQkXDMp0emDGb+XX5iLoRj0ImSYPBwWUoQd/D8XD/Ep2FZp23XVzMUWE+ +c0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s125si476076pgs.124.2019.06.18.08.15.25; Tue, 18 Jun 2019 08:15:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729810AbfFRPPP (ORCPT + 99 others); Tue, 18 Jun 2019 11:15:15 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:53304 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729038AbfFRPPP (ORCPT ); Tue, 18 Jun 2019 11:15:15 -0400 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hdFpG-0004da-Kr; Tue, 18 Jun 2019 15:15:10 +0000 From: Colin King To: Saeed Mahameed , Leon Romanovsky , "David S . Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] net/mlx5: add missing void argument to function mlx5_devlink_alloc Date: Tue, 18 Jun 2019 16:15:10 +0100 Message-Id: <20190618151510.18672-1-colin.king@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King Function mlx5_devlink_alloc is missing a void argument, add it to clean up the non-ANSI function declaration. Signed-off-by: Colin Ian King --- drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/devlink.c b/drivers/net/ethernet/mellanox/mlx5/core/devlink.c index ed4202e883f0..1533c657220b 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/devlink.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/devlink.c @@ -37,7 +37,7 @@ static const struct devlink_ops mlx5_devlink_ops = { .flash_update = mlx5_devlink_flash_update, }; -struct devlink *mlx5_devlink_alloc() +struct devlink *mlx5_devlink_alloc(void) { return devlink_alloc(&mlx5_devlink_ops, sizeof(struct mlx5_core_dev)); } -- 2.20.1