Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1845540pxf; Sat, 3 Apr 2021 02:15:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM6ypKi1jrne6EV0LaQRMPb0l8BJMTdCOI1NwhG/2esjBOHxty2rSaduZ6yuqAl227psD8 X-Received: by 2002:a17:906:f283:: with SMTP id gu3mr17716899ejb.91.1617441326112; Sat, 03 Apr 2021 02:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617441326; cv=none; d=google.com; s=arc-20160816; b=GhJ8erfnL7Ip23iN6/hrCR3D7S9ggboioQ+RmSBPR1f9EBsNpZh5n7VDB2FBGS/tkJ 7cqyN12Uz/FDo+0lNhO299gHTGUVj0zjGhtmUZ8PBsVQj1PJjQigP6rItRC7mlUeEPjL MWnwr6TxaXo/LzG8EvoYwEN9Z59qP1ilnT8fagJTQL4om9GVa8xOcnXCtNs6k8raR5lW t8N404gL96I7fnWJp/Eu1yuFQHc4516PnXKV0tHUYYbkuu5SpjBJugkzd8IyJdr8J+o3 ti17xp0/OrupJTwEvWkDPQCB0KBZDD4MIS5I+bvZJMF7Iz/j2wt1HBcKw1ErwbFGpoAA Jk3w== 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=LOA+21vzY0bmS8hxfo90qK5+QTR3YadbSYJH3ev5WXU=; b=GOuxUfTFdXu6fhw1IxhXGqUg4e3yox5vJWnanVInmBl/jii+40eoSLCqF4T9RTRKgW hc3bTgMv8UFjarlI8TNaEQHIwk8rAsBk9FA+Vw9xy/oNfStqVnDoI5DnVk4q5tFnkWGv XgMGL0Xhg28uGQrYentKF73KsNCK7umzuF5enRKAKyMVmUxMj0KfJyUcaob9Jgb3f4tG zRzqHi5tJHIr5R5A/XJQOqu1FSAdB8Uz5r9fh7vpUBjVakFCxk743rrFclODd8H5q+V7 nLMq7xXYn7FJl08HhGEpXMzaayGQZu9r50iVne7+m4rNm3RZcIfxjSTQAzF/vPmFcAYO aSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fvsoRqAe; 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 l12si8277513eds.123.2021.04.03.02.15.03; Sat, 03 Apr 2021 02:15:26 -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=fvsoRqAe; 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 S236506AbhDCJO3 (ORCPT + 99 others); Sat, 3 Apr 2021 05:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236323AbhDCJOY (ORCPT ); Sat, 3 Apr 2021 05:14:24 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D927EC0613E6 for ; Sat, 3 Apr 2021 02:14:21 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id x7so6524786wrw.10 for ; Sat, 03 Apr 2021 02:14:21 -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=LOA+21vzY0bmS8hxfo90qK5+QTR3YadbSYJH3ev5WXU=; b=fvsoRqAeDr+V0AOQjQ2l1mhiYjkuTHAfUeVMqB5RJ3sPcztS8Z5SeCkgul2MUgSV+y PU8hl2N5Kkgkq9gNmUIHpoGJ//alfR4jdkxt7DL6R7r3BB3NA9irlYrRWekZP3spTT6N SE9cyhdHP0I5npU8h2Gnc53SdfQpSHJQm8GfpD6YxpA4QxhQNtpLR5VVLJpsIv7szZnK ZVv1sfcyCWmc+k7Znt2YwSXKnz0xaZFJfae23HICWBHIKwcWqgfyaaXDUjI/g3HCh8XI QPlfND6OOoTmYxGis6TbIKiN1V8Zm+NVrX/DaO4erutD7nz1i+ok2D7cCGUi+y5jlPXK 7Gew== 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=LOA+21vzY0bmS8hxfo90qK5+QTR3YadbSYJH3ev5WXU=; b=SPweFebcL2reYTX47fiGoUPI+N/wFF9rK1M9Z6ADR3ziSYn1R0Alcx2glRqvVXqgQf u0yAMsqKzjYgm8Q6EVKsQ6aAEymJ76AENjemD43MZgwl7wo0mm6/1W4uiHz9PnXpEWK3 sqgjgwePA9NLqS3aVyU2AvJm/BeBOWDviSIHlQXYHzXjqwuFeVLLzUIdSSSJ/efKE+pb 8gLA0dY0iKJ0STFihlf4osblDUYqK8STe8W9JQsgGYOlsEEwge8BAiFj+0RslgRw4jSL 2b+dj8gIv9/O4nmoW/k7y+2YxKG7W/N7iItPXmQPLuaJUjib52gFnydwzfPmocE9bLup w9CQ== X-Gm-Message-State: AOAM532O3WYBF4Vl1qxN82iMlxZFAko2Wm+32yuxZ7ozLs6OlWWtPppK ojO+COYYCn2IWGHsqi9SfODYBlmgxfo= X-Received: by 2002:adf:c64a:: with SMTP id u10mr19409584wrg.412.1617441260670; Sat, 03 Apr 2021 02:14:20 -0700 (PDT) Received: from agape ([5.171.72.64]) by smtp.gmail.com with ESMTPSA id d13sm18552065wro.23.2021.04.03.02.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 02:14:20 -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 v3 04/30] staging: rtl8723bs: fix line exceed warning in core/rtw_security.c Date: Sat, 3 Apr 2021 11:13:26 +0200 Message-Id: <862862a3e309209e2508de0c9a1b5a02ce1312b2.1617440834.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 checkpatch issue: 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