From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24D69C433DB for ; Mon, 15 Mar 2021 17:13:34 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBC7264EFC for ; Mon, 15 Mar 2021 17:13:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBC7264EFC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B392447489; Mon, 15 Mar 2021 17:13:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vx7qSZ5bhpH5; Mon, 15 Mar 2021 17:13:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 863DA47A73; Mon, 15 Mar 2021 17:13:32 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 6B5321BF33C for ; Mon, 15 Mar 2021 17:06:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 68954430C7 for ; Mon, 15 Mar 2021 17:06:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id myLIxoIzlUEN for ; Mon, 15 Mar 2021 17:06:42 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9A87D430C0 for ; Mon, 15 Mar 2021 17:06:42 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id p7so56192152eju.6 for ; Mon, 15 Mar 2021 10:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=xB33FDO4UEYgYxHZECh5xA06icjAah7DgO/SAqbF9G8=; b=TRewqaDYealn9PXZ1zpRnIUsbshLvw+8MjiU0FzQYwTNr0hGqJJKSIr0MQSasv9HJA ZV63JnHXYTGoo3iCPKS0OywOXPcVI8OOuG6a1hqQtsgipO7D4aNBSDDqTfLl0RUWu6DD oskA89dcPSIyCOr/WkHMpZdNtRiHdrgfDNBYMPip4vDeSR+pjoqdJK/RznfQkX3p5Afh +l7jIVosUp/w07laFaBz0Yglor8h7S9dJLTP4/GSfb0YCwOrQXXWDvHss+7YPlyDhgz9 HIJXhqtMUdneRiccjRaUgeb+BBVQejaASSOwEJ3RfXJ54E3fJ/hUl/voT5PwAWFLKuSN jcOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xB33FDO4UEYgYxHZECh5xA06icjAah7DgO/SAqbF9G8=; b=l7/PgrN3I1VgW+lUwQ3ahWcACFVaYeIguV7hSyk4gDNuRKKUvkuSrzlh3EGUu2YmU8 +OhCXpsg0PK7G/tIWjEBaJdTUz/jjqOUTntpDa902ETM91HQR1v1FA02djtINN6IUa+b IlmyI/HgF3YM+Chdg678uubD7CPkhD3B60J+u/TNQNG5MyjhAMWlmpFzCsuwso6hicnm Dp7nmQKx8NuTVGYp29Fr23YcLnNbhKPxy5JSz4Rf98qifXgX5oZp8LE3cuc71tBWwx7O wcn3l1RH0xwrIgasPfA0Vu0W6yKy9ASHoug4fNjkxa9BRMuwxhVQ1PKLV/sC0gFqE0// JFjw== X-Gm-Message-State: AOAM531UF+hSiJGOxITA+h7GA6LND/RKRIfNI+1wA0uvGIGUSWBcks2A AhDfEwKxk36ihp0mla7sX6A= X-Google-Smtp-Source: ABdhPJx2EXZIDJe8+ZooItBQDuZHGv0TxT817Url8H0IPdN+x6fqPVY63eT4YfdH50f8zCjsjY4/BQ== X-Received: by 2002:a17:906:2816:: with SMTP id r22mr24446292ejc.2.1615828000977; Mon, 15 Mar 2021 10:06:40 -0700 (PDT) Received: from gimli.cesven (93-48-145-141.ip257.fastwebnet.it. [93.48.145.141]) by smtp.gmail.com with ESMTPSA id gq25sm7879608ejb.85.2021.03.15.10.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 10:06:40 -0700 (PDT) From: Marco Cesati To: Greg Kroah-Hartman , Hans de Goede , Larry Finger , devel@driverdev.osuosl.org Subject: [PATCH 40/57] Staging: rtl8723bs: fix spaces in drv_types.h Date: Mon, 15 Mar 2021 18:06:01 +0100 Message-Id: <20210315170618.2566-41-marcocesati@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315170618.2566-1-marcocesati@gmail.com> References: <20210315170618.2566-1-marcocesati@gmail.com> MIME-Version: 1.0 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)" #210: FILE: ./include/drv_types.h:210: +#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #404: FILE: ./include/drv_types.h:404: + void * HalData; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #432: FILE: ./include/drv_types.h:432: + void (*intf_start)(struct adapter * adapter); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #433: FILE: ./include/drv_types.h:433: + void (*intf_stop)(struct adapter * adapter); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #435: FILE: ./include/drv_types.h:435: + struct net_device * pnetdev; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #440: FILE: ./include/drv_types.h:440: + struct net_device * old_pnetdev; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv_types.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 97e8e462d718..649b2fd62abe 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -207,7 +207,7 @@ struct registry_priv { /* For registry parameters */ #define RGTRY_OFT(field) ((u32)FIELD_OFFSET(struct registry_priv, field)) -#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field) +#define RGTRY_SZ(field) sizeof(((struct registry_priv *)0)->field) #define BSSID_OFT(field) ((u32)FIELD_OFFSET(struct wlan_bssid_ex, field)) #define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field) @@ -401,7 +401,7 @@ struct adapter { u32 setband; - void * HalData; + void *HalData; u32 hal_data_sz; struct hal_ops HalFunc; @@ -429,15 +429,15 @@ struct adapter { void (*intf_free_irq)(struct dvobj_priv *dvobj); - void (*intf_start)(struct adapter * adapter); - void (*intf_stop)(struct adapter * adapter); + void (*intf_start)(struct adapter *adapter); + void (*intf_stop)(struct adapter *adapter); - struct net_device * pnetdev; + struct net_device *pnetdev; char old_ifname[IFNAMSIZ]; /* used by rtw_rereg_nd_name related function */ struct rereg_nd_name_data { - struct net_device * old_pnetdev; + struct net_device *old_pnetdev; char old_ifname[IFNAMSIZ]; u8 old_ips_mode; u8 old_bRegUseLed; -- 2.30.2 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel