Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1441365pxf; Fri, 2 Apr 2021 10:31:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCZ/pHIQZRy1PhOwXsbDY+I2QltKbSUbjVtwVA4vK4jj25BMsNRerp/0YGUYCo4BAC6zc1 X-Received: by 2002:a05:6402:3089:: with SMTP id de9mr16822596edb.10.1617384699131; Fri, 02 Apr 2021 10:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617384699; cv=none; d=google.com; s=arc-20160816; b=RqKTxcdglpim2EnPGGIGvqJT7rg49W/RpbYXj23Y1I8zdP+Jyx03w8ThgBRKwcdw9y JGMk0MfBNQWnYQN5f/KvTM4WB1mbXHF+LPNQFcn3SznizNbnfTURZrZRdfXYe47JGWBP jH0PvjXTU76oOw8m1YrP2BNKb3SAVXw8HYvi5BYiPlnzcP7sEFO+xRSweYRzBlhkE4q3 I5XVippInmc+yTLDp0szHAZCgMqRpClrJkktSlqaXXnJhco6TH+QJ3x651bOHsH+5J8D uXYxde3HiLnZypK4VnpDVXE+CAXaKbOQdtUbMGEF2be5GOWlV4JCi5rCP8dEUSzlJqcN 5B0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1hZ4ZRFQMHL8+YaTqMG5bqkb2Pg0WQaVjpilg0+murs=; b=sGhuvtmblCm1RS7VQYzUukunUVc+zKM/wxr/nKLfhOXIqcTZs19e5exb8HyLvHAfcs tQ1K1z1+jSC0dnPtVJVWW/xklbtJEktDuhniI3Qisbk6sD1iIFX+1FeW1im/xyZ7E/Pi i9lEWzT483d9m4wKLPE7iT2uUlZft4ZHTDWsQlc/GvnE1Npl+4+uDMoMVL6Xpgqjooce iLFyeCQLat6sxasJBywA7C+mQPnA1NvAoG0pF5eeJHxoyHniNVD+Mdj3lRww6wvK0HPH 3AisfKSFYDgnuMZ7gvYNyeiZA9woIWa5whaEQ2S05aVTnEmFeoNZRmu+R64ool6MZx90 iD3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XokOpTqp; 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 u4si6822267ejz.522.2021.04.02.10.31.16; Fri, 02 Apr 2021 10:31:39 -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=XokOpTqp; 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 S235279AbhDBRak (ORCPT + 99 others); Fri, 2 Apr 2021 13:30:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234361AbhDBRa0 (ORCPT ); Fri, 2 Apr 2021 13:30:26 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06306C06178A for ; Fri, 2 Apr 2021 10:30:25 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id x16so5298892wrn.4 for ; Fri, 02 Apr 2021 10:30:24 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=1hZ4ZRFQMHL8+YaTqMG5bqkb2Pg0WQaVjpilg0+murs=; b=XokOpTqpA3OBVWwkdHxF4seB66ouB7G3LO3JSH6TTLCffW3riOUdvGCh12kFvX5IUE IxOPQn0CTDrn5KMzQra46ELg5vKABKq+SuK5LVyqbBAz3UeoIHv+gV9YmB76IOiHLrNh a8ERkMErwgbHSsSoTMl93My4Y9ZChSt2Ef81Hkj4iydtL0YzrhxPOayvo1NUONS1S12c ZTaCsEkD/xK8TLBUpH4h2TQTK8Gh3bUlX7wltYrwI2ZgvV1LIKD1cvG1QXZypTBu/EiO 7XiyWIx/AcpiWLeQ+g4LOs8dX0F0IcXZRWafocNnE+dh1qfkjaBOa7rBLR3zwm7wuSpj cFig== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=1hZ4ZRFQMHL8+YaTqMG5bqkb2Pg0WQaVjpilg0+murs=; b=L4iZ1GASdKnSCfAgAFqbujZMaMGIbG92oFMCYIw2OOJU9VYBjNC/5fFk+ZVk8jiqnW ReaYzzTTRqB0TyZ6oKtjQ6JRzT5zqqhOYc1LTt6u2cY0EGatruTc+Nhtl7wTADq/GK7o Lth7XJYSuzFMlmwpZL6IZQqg+8F6r7eKc5Q2N4nuDoSwb9DDLAZ1DnwFESlp1l5ZLU44 pmSWFLChuTWdMT4LmTpQwl7xvQsaD7DsItk+L4ct3+ObHTf1f07p3j3m1CyhtcWD3ZqS VSgpgQ3nec+1VCipMc7K5We79Y/CkPTeDYgGcgQt0RVOixxVHY0h2T6BuAnxmtn3AzIf iHQg== X-Gm-Message-State: AOAM530yBIFglKTIWTy6Jx0zXWJIfqVO74mABQ8Eln8SFIICOKcVa0R5 1Rl3ehvHeJ9h6OrQBOoih34= X-Received: by 2002:a05:6000:1803:: with SMTP id m3mr16553939wrh.50.1617384623799; Fri, 02 Apr 2021 10:30:23 -0700 (PDT) Received: from agape ([5.171.81.4]) by smtp.gmail.com with ESMTPSA id z15sm15595837wrw.50.2021.04.02.10.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 10:30:23 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v2 04/30] staging: rtl8723bs: fix line exceed warning Date: Fri, 2 Apr 2021 19:29:46 +0200 Message-Id: <20dec1b32f2e36a98f0e3ca7c88a3d042fc20186.1617384172.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix the following post-commit hook check: WARNING: line length of 149 exceeds 100 columns 61: FILE: drivers/staging/rtl8723bs/core/rtw_security.c:729: + if (crc[3] != payload[length-1] || crc[2] != payload[length-2] || crc[1] != payload[length-3] || crc[0] != payload[length-4]) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_security.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c index 689419a76d94..663a8ea199ee 100644 --- a/drivers/staging/rtl8723bs/core/rtw_security.c +++ b/drivers/staging/rtl8723bs/core/rtw_security.c @@ -726,7 +726,8 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) *((u32 *)crc) = le32_to_cpu(getcrc32(payload, length-4)); - if (crc[3] != payload[length-1] || crc[2] != payload[length-2] || crc[1] != payload[length-3] || crc[0] != payload[length-4]) + if (crc[3] != payload[length-1] || crc[2] != payload[length-2] || + crc[1] != payload[length-3] || crc[0] != payload[length-4]) res = _FAIL; } else { res = _FAIL; -- 2.20.1