Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp681966rwi; Wed, 26 Oct 2022 06:05:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rt5RKbUWgcOjlQWvW1OgL0DtmyYZF1o6Z+uyWpsWfwpFVndCQvl5ji+n1P5CiSsj+Vgsq X-Received: by 2002:aa7:df04:0:b0:45b:cb0d:856a with SMTP id c4-20020aa7df04000000b0045bcb0d856amr41898525edy.180.1666789542624; Wed, 26 Oct 2022 06:05:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666789542; cv=pass; d=google.com; s=arc-20160816; b=TJO5yJHeqN5dLhHLOU4dLxocbtDDQjw6UihoGGeivNHaCDcfAd9Okgzym/Psd4xt9Z leHS3LsLSk8ndz7vUm7Er1B2sePKTg7MUUQ2zsTTg//Cp5ylrxDXCKHVbmrc/UN+C3xJ 0dXnbgu+fRuyxM2ah2AivZqwW49NlSuKKgIEVgdBdjMg9mTawaNF9KOjH1OxaceaFPDf eidBqbTys9QDataqYXDnVbbJzKrUqUr5K68rB/3LZeTbek3Xjt35qDxOTdEnuYo8NzZ2 LbGLKVecncUJSbVprNzMYbjuLAdoctckOaRr9AT5J2ODsZSH3Z2Z2Wr1JCggsqwmCIdG lG+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gn9CWmy4W7rmZ/rwXWSEgHAWya2y6DKl9JZAkcJcx+8=; b=WL7umxvrCVCCao/retpVXL4SB5nQ6el0FFZ2y7PzSN8oV7GaBx/yvTUN5NSFOfXGL5 9gos0sXwvHB6xlZlcOM4qFA3rHQrrRt3/N06yZFVdV0ZnPSlndk0E64mkGPuNYQIfZH/ lg8Z1YsG0IZabwCTfcDaTUTvKNZjC4aGP2CT/LrMt0RzxdUkkuRbJ+m+rmTjRCLUZNK5 nODjiqVBJ1YXs7dOcVFaQRVf+mM4SmsnVbHBhqo3i41Dh+UfytoRSlveYvqP3BjWl5pE EoJC5hbqzN2cHk+xiI0R6fLsBXtIHdFZwW0Lq2MsNpUw6zLxUFYAgeh7WiEDTj6Uly0J 5dLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=OlIEGgpf; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); 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=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw38-20020a1709066a2600b0073d9c412570si5336479ejc.785.2022.10.26.06.05.08; Wed, 26 Oct 2022 06:05:42 -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=@zohomail.com header.s=zm2022 header.b=OlIEGgpf; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); 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=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233757AbiJZMnL (ORCPT + 99 others); Wed, 26 Oct 2022 08:43:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233641AbiJZMnK (ORCPT ); Wed, 26 Oct 2022 08:43:10 -0400 Received: from sender4-pp-o95.zoho.com (sender4-pp-o95.zoho.com [136.143.188.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7F81A209 for ; Wed, 26 Oct 2022 05:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788185; cv=none; d=zohomail.com; s=zohoarc; b=VhtDcv9QqQmhe/+i5FaDmjXoI0uKRy68wpAEUQRBht5dkLyf3K5uAzW1kJPHgDBLkDTZw7Yn+4v+patub59VWkqJHG8TP1ai9Q+4MRZlSfOAVLtCiHcO1W83SHAtm+YtxNfbxicqurQhRxRNEfXOwR15iBO4ZKHBq3GlXloxEGA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666788185; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gn9CWmy4W7rmZ/rwXWSEgHAWya2y6DKl9JZAkcJcx+8=; b=BcpmUA4XhoyhPWGwznGP6pqWGJhg9xzD4iVpNj0vlqnLslAhqZsSvOdt7oOn9O05obyRzEE/ZHjCcg+9PwH7qdOuscOAmuO+AG2FrE10VAA524eA7moNzDnbJawrzEPyOiUY+4WiZV9+/j/tOVWCzd5s/6uCJAFWn7mk95Kq1I4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=t4rmin@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1666788185; s=zm2022; d=zohomail.com; i=t4rmin@zohomail.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=gn9CWmy4W7rmZ/rwXWSEgHAWya2y6DKl9JZAkcJcx+8=; b=OlIEGgpfjt8ftu+jBMfBvsLDv6mv06kzsJ82KAy3RBNwKnWDb814hQO7FBLP4u9A Nx/vsnJJ9WOkGAtHfMc5qWZmsCblatKWL3vHIvkIxsv5t6i+G2iCGa9q6s06jqC9/Bp eIaVC2+4ftbSehWN/LJNYrX4Mqcmr/OA6VKkrJqE= Received: from plymouth (103.47.132.34 [103.47.132.34]) by mx.zohomail.com with SMTPS id 1666788184977888.9014581744829; Wed, 26 Oct 2022 05:43:04 -0700 (PDT) Date: Wed, 26 Oct 2022 19:42:55 +0700 From: Aaron Lawrence To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] staging: rtl8192e: rtllib_crypt_tkip: split multiple assignments Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Split a multiple assignments statement to individual assignments on different lines in accordance with the Linux kernel coding-style regulations. Also repositioned comments on it and the statement before for increased legibility. The multiple assignments issue was found by the checkpatch script, with the comments legibility issue were through direct observation. Signed-off-by: Aaron Lawrence --- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c index d1b86de76eb2..b8a52b9f9d07 100644 --- a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c +++ b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c @@ -488,9 +488,13 @@ static void michael_mic_hdr(struct sk_buff *skb, u8 *hdr) break; } - hdr[12] = 0; /* priority */ + /* priority */ + hdr[12] = 0; - hdr[13] = hdr[14] = hdr[15] = 0; /* reserved */ + /* reserved */ + hdr[13] = 0; + hdr[14] = 0; + hdr[15] = 0; } static int rtllib_michael_mic_add(struct sk_buff *skb, int hdr_len, void *priv) -- 2.38.1