Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1650784pxa; Sun, 2 Aug 2020 15:49:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMZHzLJbXTmjAol9aEe3SArNalMZ9BuJ7ggLMFo5ChGRhUYMKud5xnJYSGm640vZmU8V4i X-Received: by 2002:a17:906:858:: with SMTP id f24mr13905929ejd.543.1596408569318; Sun, 02 Aug 2020 15:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596408569; cv=none; d=google.com; s=arc-20160816; b=pltCU06Am9Gfxujy8lhhFo2ddS5wb7X+AW1Vy+TKmZcoY5neGfSekYoMJ+nBXfVxZT kzuumDSQ1rA5Xpljgt6mGbr6EdMd8qfKhcxuxOVnOl2I/944aJhxRqwhQtV4iIkOAMeW vIkbYB8GG68/jDu7GPtrDkcZ/m+HJeJkMBOv6/WQXSQIBWDLxf/ALQc4qZ/zgh49/zXj ph4lZO8cVKw6xEdz05r2sTR8v5RliV4PDS/25uC6GnVCC4rHbUndyVFUGYfCGimfiO+Y G/RQzYpie/o9lQN1iBKu3edFv+QRK0vQy6xc1ZOMt8oyO3fIUPVNp3N2dpdXCquUZq0V Mgcg== 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:subject:reply-to:cc:from:to:dkim-signature:date; bh=uqkGqPHbw5SoGB+pvlSksm3A26SLfe0aDo1kq7+qs7U=; b=HaOSzlU47vmZj8xsObA7q7yNZ/24yrS+Y0ce2VpZJRZ8J2z+/XbdRJ4u4fi9HDJ34u eJVy/RJaGXOF85BxKl4nG/mXnWOtrNW9NH+Z0g5xnv2StIOb6fu8fCGJLSMayrgsfgdP QHhVl+diNbbU3OyZaY02JGcia+jlt95QdBxQslDGG3kLZVdkyMkOrgGpi8cOb4z6ijwV xkoqCfnvhUkuU06UfY2fIkpRdIbRUvzzaAGPKagkALHChgfIfK9wlcc+yQQu/saw4lLD nQhjNtaIL85SE4Ga1JURLxK5R8kFdLGkKWJCbFCdovibMPYKWU4F1gEgQ9DX/Rn2UVE0 +qjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=vnv9ed0O; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si8913378ejb.579.2020.08.02.15.48.51; Sun, 02 Aug 2020 15:49:29 -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=@protonmail.com header.s=protonmail header.b=vnv9ed0O; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726799AbgHBWgf (ORCPT + 99 others); Sun, 2 Aug 2020 18:36:35 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:20565 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726257AbgHBWge (ORCPT ); Sun, 2 Aug 2020 18:36:34 -0400 Date: Sun, 02 Aug 2020 22:36:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1596407792; bh=uqkGqPHbw5SoGB+pvlSksm3A26SLfe0aDo1kq7+qs7U=; h=Date:To:From:Cc:Reply-To:Subject:From; b=vnv9ed0OT286DLgLvXEI6uD8tCjYwmwpRZDJ8xHNqfnzZN5AmxFpbXPHFOMfqd02b fN4abzMew2dkyhvw/0yzvy3QRF5nl9vK2btPCPrnTjEsaoPOmEYf2g68bHUDY9Dt/E E8817ZLizl/kV2WJAVTqp7Skfbiq8TzbMH5jgDH4= To: Greg Kroah-Hartman , Christian Gromm , Kees Cook , Masahiro Yamada From: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org Reply-To: =?utf-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Subject: [PATCH] staging: most: dim2: Add missing identifier name to function argument Message-ID: <20200802223615.924307-1-nfraprado@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A function definition argument should have an identifier name according to checkpatch: WARNING: function definition argument 'struct platform_device *' should also have an identifier name Name it pdev as that name is already used throughout the code. Signed-off-by: N=C3=ADcolas F. R. A. Prado --- drivers/staging/most/dim2/dim2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/d= im2.c index 509c8012d20b..b34e3c130f53 100644 --- a/drivers/staging/most/dim2/dim2.c +++ b/drivers/staging/most/dim2/dim2.c @@ -100,12 +100,12 @@ struct dim2_hdm { =09struct medialb_bus bus; =09void (*on_netinfo)(struct most_interface *most_iface, =09=09=09 unsigned char link_state, unsigned char *addrs); -=09void (*disable_platform)(struct platform_device *); +=09void (*disable_platform)(struct platform_device *pdev); }; =20 struct dim2_platform_data { -=09int (*enable)(struct platform_device *); -=09void (*disable)(struct platform_device *); +=09int (*enable)(struct platform_device *pdev); +=09void (*disable)(struct platform_device *pdev); }; =20 #define iface_to_hdm(iface) container_of(iface, struct dim2_hdm, most_ifac= e) --=20 2.28.0