Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2712405imw; Sun, 17 Jul 2022 15:21:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vVECas5+naA50uPhAKfolMmkJov5+xjsmNRzwZN4U5zKXS67fgxXNz/O43frd0yvmu4A5b X-Received: by 2002:a17:907:a055:b0:72b:16dd:d485 with SMTP id gz21-20020a170907a05500b0072b16ddd485mr23345880ejc.435.1658096503577; Sun, 17 Jul 2022 15:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658096503; cv=none; d=google.com; s=arc-20160816; b=PBJxPo3ZppaAKMOWUf3wg0a9q+lxgIIZ7h2o57GLzokvD/vJBe88k2ZyJYCcyvlmGv 4PZVN4gASINncDOG/cD0pEYS+2cmGV4TCj/6upXrtnyNNVFQa8SQ2z3CjCvlx66S6L+f ugUs7w+aEU2XIzMlDkPj9uubYVfKxBC8qtd1rKvr/Cv5gzIG9CYa501jttWQnws+jC9K vvs+xGe1wPfOscjzB0Rg5hMzdZB/xaNeodN6n6BrNtNMnuW3jSq4aY+9aY63KT6Y1VtZ jadBVg/MkLJME3dsDhpFNFeJte3c4YYqj1vXb17fx+8kxYCcAc3Gs5DsP1TBZLm1dmb7 6kkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=Ni55GkXtmz8IMGDR+CYFgP4mhPfwYhJDFZvT9kJS8E8=; b=rj4U0Yu47cIBXnfqfCKoL6iFMelSRxlXIUnwArX8apR4HkTk/PchgBILaw5cWmxX5r N6gQnrBxOfh/QSLb7nlUj7TlYOB7WNQuHor+bug6mJwUR7o6PSfMd6V7/Xf+bVsMYNGC 60sYnphcATXFEIqA3J4pvniRgAlLd1wQqldg1RCjE4F0vy5e/h0UlvXx5naiEHPHHs/g UTkUIgTgRFXUISP4zu8/9WI0dihTFXIsAhJNggXE2ePVooNNBMAZ5h9viywxgQN3lTYE l7C2D4TBrelz8CCkn+XEQk86MpHP5Os68jBwJaKZJ+kMZZM3djYwWDZsjWDTUi5itH47 /r0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WknUigVX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020a1709066bc100b0071223d9f214si10916297ejs.177.2022.07.17.15.21.19; Sun, 17 Jul 2022 15:21:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WknUigVX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbiGQWUK (ORCPT + 99 others); Sun, 17 Jul 2022 18:20:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbiGQWUI (ORCPT ); Sun, 17 Jul 2022 18:20:08 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6720112748 for ; Sun, 17 Jul 2022 15:20:06 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id y4so13089252edc.4 for ; Sun, 17 Jul 2022 15:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=Ni55GkXtmz8IMGDR+CYFgP4mhPfwYhJDFZvT9kJS8E8=; b=WknUigVXY6JBY8Bww8UFrLPLQcoccIcD9UolgQxtD0vetPaYGWVtwCbbHofwzfiN7T /xg+qE9uSysumbJRflR6/9IbveUeEZo2RSFPsXHG9rb+I2KuQ047poOoKJeRxwjYMNXz +f9a9hid6vI8nw8P667mhd0WxlvyltgMyg3aCYZf91SugmY7kHHkCSQh0OwPdZjHfMKF erYOIA8X1pCvqfWj96dgd8U7z/Ih8KpvrrUkgsqk6J7RQdL6hjgVssG4LfAgLsX+pXus IUYFGAgGM3kxdHvfx3SIePVkk3qyuHoXH06uvlim5seVDwDCZaHDWMVUOnaN+1O8kGcZ /xMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=Ni55GkXtmz8IMGDR+CYFgP4mhPfwYhJDFZvT9kJS8E8=; b=kiCzg81DrG6v9SsevkHpClZ14SRJJ5IxVNnuX2L3Lg7gvY/CUFncdAgmEMHdXLWXrH FMlkCR9I85Cy9d+KMwiwMXPxFkfH4uJ80RgIHNY0hvfUsh+FCf23jOr1QSo7g4ox+9gs ogz29UUlKbgEK0e+VVBobkXKhZroPWyIfgcxEUDSAFFsK1mH4dqHjTChZ0qGvXuOkMBd CuLb5e406Ryx3jmYHkphVmTspXF97SSWm7w2iGatV23GTRJKyHYds3MoD8O0gmgoZ+UE 6daVjR98C3qv+ZpN9APUUChlBTj7tRPOldj8gV33z3Z9Ah87v/ZXFFyidLgg8CZk8paL rXzw== X-Gm-Message-State: AJIora8VhXp/JKHMvRNiXN55x6mCsPVj9osBS0317gsf/YhJNCld2N04 q8afBSlq5X+m7MyqGkRstO0= X-Received: by 2002:a05:6402:1003:b0:43a:75d8:a0e with SMTP id c3-20020a056402100300b0043a75d80a0emr34028761edu.303.1658096404863; Sun, 17 Jul 2022 15:20:04 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id n23-20020aa7c697000000b0043a71c376a2sm7445710edq.33.2022.07.17.15.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 15:20:04 -0700 (PDT) Date: Mon, 18 Jul 2022 00:20:02 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] staging: vt6655: Convert four macros to one function Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert four multiline macros to one function with parameter. checkpatch.pl does not accept multiline macros. Tested with vt6655 on mini PCI Module Transferred this patch over wlan connection of vt6655 Philipp Hortmann (7): staging: vt6655: Rename dwData to reg_value in four macros staging: vt6655: Rename MACvReceive0 staging: vt6655: Convert macro vt6655_mac_dma_ctl to function staging: vt6655: Add parameter to function vt6655_mac_dma_ctl staging: vt6655: Replace MACvReceive1 with function vt6655_mac_dma_ctl staging: vt6655: Replace MACvTransmit0 with function vt6655_mac_dma_ctl staging: vt6655: Replace MACvTransmitAC0 with function vt6655_mac_dma_ctl drivers/staging/vt6655/device_main.c | 25 ++++++++++++----- drivers/staging/vt6655/mac.h | 40 ---------------------------- 2 files changed, 19 insertions(+), 46 deletions(-) -- 2.37.1