Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp720932ybt; Fri, 26 Jun 2020 09:56:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiWkH8Fn1iC8EIaQHlsbGJhbcjQOPcDYGNhdwrQjld5pEtJBrmcjvs6yr+c4Yss0PCNkFX X-Received: by 2002:a17:906:4a45:: with SMTP id a5mr3309171ejv.384.1593190590622; Fri, 26 Jun 2020 09:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593190590; cv=none; d=google.com; s=arc-20160816; b=CZB1XMdUFYVGNwsFgDnDjReId4XlSwAQbgQy4lGTjYMcayreReWl4FuZ2vlh9tUmuG zqgc1eAJCpc9trmH8C/7vfB+Jq+wJkqtVPuNlEUzlfiTzvoXj06YQ2qZ/XMnsRv+rDlx 9IudjE0C2k43Lif3PpUx3OJWq7JYBFWNAKBMJjaTkp9qfMkWZ9LQU+sK9SxwWAAsTcUA U0atmf3SvRkdqvwx3+Hc86vjGNUBs0cIFUc24tORVm8w2nCHverI7Ea3uZtMETQdhetk CWeciAoV+dQp9UnN/zLaZ9yqDpIICvHHtU+GEpKkLY5EydCvWDdJsVf7Eq6BSM6nlrvN LGYw== 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:dkim-signature; bh=zaM022Y/HvL/3x+amPYr1/2gQ3yZjNK4i4/X4H7UZdk=; b=g6b/ZVjoQBHis5pAQCGeyR30a7lll7ifBVokiOCB7M0A0HPRDTZ+GHgn1xwktfpweX yrU0cqbyXaKK7vyL2Q12l2xuX2vutFnVbRTwR1XdmE2V6EgMRYt7REQOJ76oP0kPz5K1 YSekLZC88EFsgCM3smShR2MKpdIM4GCNtlTm3S1cYDESz5lI0Sk0cbNEqTU2/LxJXZ2Y YJNG924ueEb4fvyVXSH4rRJcm1F9e92v6tjlBYmLRYrfsNh4VvxNg8YYDgVmmHTmrAu2 P0g6owdNW9Oh2REZy2KQ0/bpZe4dhl/NUkVvDi5ABThVBJq+x8mNXzZSXjsshO/2F0i4 sQnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WxPluckn; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si8962390edy.229.2020.06.26.09.56.07; Fri, 26 Jun 2020 09:56:30 -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=@gmail.com header.s=20161025 header.b=WxPluckn; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729589AbgFZPg6 (ORCPT + 99 others); Fri, 26 Jun 2020 11:36:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbgFZPg6 (ORCPT ); Fri, 26 Jun 2020 11:36:58 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D720C03E979 for ; Fri, 26 Jun 2020 08:36:58 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id v19so7729006qtq.10 for ; Fri, 26 Jun 2020 08:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zaM022Y/HvL/3x+amPYr1/2gQ3yZjNK4i4/X4H7UZdk=; b=WxPlucknbvIlw82ivwskuCV0wvNkaalfBfcDCcbd+cseAq8sIU2Nf8tk8TYqU7H5/C LbAKIyK1F3Nl/7gxztG1lqvGgJO9QSDnB8aUtAsoAdzF8IAANwm1UkUQVa+wJM6LAJlw Qe6hHoBvfy7efICEbxgBY3QcBwHjwY/sdXJKXMI0DafjErqbNgUrjk5aTEbOS/YXlafp +7KvtbsZupKjTaMdlbywLi6kMpZYOMD0kmos1u1+w29FZjyx8tcxgrzJn4hy7o8Qxdlb rAAx+yu4utQ1qDCAW+lXr0zal/pHGU2mlMb5OlbzEvt4c7GMg2Yx2K/DIBykb4F4bHZH faOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zaM022Y/HvL/3x+amPYr1/2gQ3yZjNK4i4/X4H7UZdk=; b=D7n6Wxk+RNub8HlzGzomPqwUc2kmtkIEiUMCwP3jD/qMmN70tgnTzR71Pfn9EIIUbr AAFjxRDVdGKMMBtScPdrlzWh34+CQgQYOta0PYa5TCjX67gQahvPYnI68Bf7Vm0JSJeG wAPx4dGRns8alzqSfK7kaDFFp+lN1Ur4p+jVBo54KuAdIn990jT+jlNRTSd5PmHG0rWi MZn36VQPnKrleVSYMWIMPrccTNgnQFpCCqZC3Y34AOH4BnmZ0okiI1EPWCd2NG+37uQv /zhl0DXWB9l7Y4UTpXRbI65VGarwgos3dTxUgFUIQUQI0/yawqzFSf6LVc1xM/EFJ+C3 rRvw== X-Gm-Message-State: AOAM530bEuMfO2TB8cjcIVbQpm0imwhQLsG6freu/EZCiODBWpf+alwr k8Cbk4E/GD8qhlDrErQiqCQ+GOlF/h2HAw== X-Received: by 2002:ac8:1907:: with SMTP id t7mr3326757qtj.160.1593185817581; Fri, 26 Jun 2020 08:36:57 -0700 (PDT) Received: from mooncell.myfiosgateway.com (pool-173-75-208-99.phlapa.fios.verizon.net. [173.75.208.99]) by smtp.gmail.com with ESMTPSA id y40sm9719918qtc.29.2020.06.26.08.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 08:36:56 -0700 (PDT) From: Brooke Basile To: Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, straube.linux@gmail.com, colin.king@canonical.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Brooke Basile Subject: [PATCH 1/4] staging: rtl8188eu: Fix comment formatting Date: Fri, 26 Jun 2020 11:36:36 -0400 Message-Id: <20200626153639.8097-1-brookebasile@gmail.com> X-Mailer: git-send-email 2.27.0 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 Fix the following checkpatch warnings: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Brooke Basile --- .../staging/rtl8188eu/core/rtw_ieee80211.c | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index caf600eba03b..a27dce7f30b3 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c @@ -139,9 +139,11 @@ u8 *rtw_set_ie return pbuf + len + 2; } -/*---------------------------------------------------------------------------- -index: the information element id index, limit is the limit for search ------------------------------------------------------------------------------*/ +/* + * ---------------------------------------------------------------------------- + * index: the information element id index, limit is the limit for search + * ---------------------------------------------------------------------------- + */ u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit) { int tmp, i; @@ -680,9 +682,11 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, { unsigned int oui; - /* first 3 bytes in vendor specific information element are the IEEE + /* + * first 3 bytes in vendor specific information element are the IEEE * OUI of the vendor. The following byte is used a vendor specific - * sub-type. */ + * sub-type. + */ if (elen < 4) { if (show_errors) { DBG_88E("short vendor specific information element ignored (len=%lu)\n", @@ -694,12 +698,16 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen, oui = RTW_GET_BE24(pos); switch (oui) { case OUI_MICROSOFT: - /* Microsoft/Wi-Fi information elements are further typed and - * subtyped */ + /* + * Microsoft/Wi-Fi information elements are further typed and + * subtyped + */ switch (pos[3]) { case 1: - /* Microsoft OUI (00:50:F2) with OUI Type 1: - * real WPA information element */ + /* + * Microsoft OUI (00:50:F2) with OUI Type 1: + * real WPA information element + */ elems->wpa_ie = pos; elems->wpa_ie_len = elen; break; -- 2.27.0