Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2594393pxf; Sun, 4 Apr 2021 07:11:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynhEv0WKNdqLOchaM1Y8m35K7XSoZKNKFyUbd6BXQ2SM6YvqEouaN3TXz2WVw/V50ajpQk X-Received: by 2002:a05:6402:9:: with SMTP id d9mr26060429edu.67.1617545480022; Sun, 04 Apr 2021 07:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617545480; cv=none; d=google.com; s=arc-20160816; b=pm1rJerUS+tsS0DrQJwU34209qPIRYOMo3dG4kk5jT3UZXozCVJEBftHRBjaFTu7hI zvqy/P7KelO0zNHL/fp5pqg6bWpz82BoCZxM6pRQ3KK2/SukFV/RYsxbF0SvpMLSu6/q AVY9oIdBoZNxei5zCSs3HVf6v1XnE/EkPWEtxstGKjeXXFYpeE6jOLX+CTFQ9tDTnkzC Ns9GRPK3l7KI3rWLh1xkKjEiMmCTlRJwKAcpAIYvJ1zne9PBx/m6Xxt4PGMAYQcL+CHg ce4SHPWX2E3FfUuLIAvl/7UGMS2zv47KI2qjrlPK/dFRQ6X+Dhy02zaBKvJofjg0/qcQ UR0g== 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=WFM345QYCGKzg+bDukh6L7/pLP1u7pPxI1AegYU8dvthnMThb4uJY4Yga6E993hMXi PC/ITg37jqQlqcnKNQ+1nGx+BnjeX8F5uE4K4Yw6mAGC8/Lr7QvjGGywGVNKtNdm+ulY d2A0UEya52TpgHhaAEhpQ4hjdByILGYvqvvKM+JCOQmvYSmcX4JX8GLKFEm/NOvLuhYI tbIQaf43y7GCFAKi80w5nZeRQWsL9D1YVzLZU2tSDogyi0fpH1qkQeG9Jc86cpzmx6ZL iiTo6Ayc+6W8/E5ibP/RI2czOTSnOXOZ9L6bKq6KRkdFJGr+nJhMgbnzy7xtY2ULW90j KjDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=geC43GSl; 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 u18si11022536edx.81.2021.04.04.07.10.58; Sun, 04 Apr 2021 07:11:20 -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=geC43GSl; 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 S230446AbhDDOKL (ORCPT + 99 others); Sun, 4 Apr 2021 10:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbhDDOKD (ORCPT ); Sun, 4 Apr 2021 10:10:03 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A0FCC061756 for ; Sun, 4 Apr 2021 07:09:58 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so4468463wmj.2 for ; Sun, 04 Apr 2021 07:09: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:in-reply-to:references :mime-version:content-transfer-encoding; bh=LOA+21vzY0bmS8hxfo90qK5+QTR3YadbSYJH3ev5WXU=; b=geC43GSlEmn6/QX/7D+HM7Tvjkv6H2cFHdox4734ap2n7xErKGv4pFaVcQoHjO3wJl SL4wWGr4UIecOB9G3HTI7ew6o1iQTozU32ts+qNl2/wc9EpxtkCqBiaafhmLcYkGq2wO pOHhwl075Gk53XEhUp853lwKlWoKsyYEniPuFahMMVjdlErQaQuEjKebvS9UF7MvFepN /Mx4VW8e9ibNYbeBN9FHCDEYq/jMdnDSVm88pZyHftGOw0f4XqQLWoixQU1OKU+XWLAq +I3zECsWjJ82FpNHu8svVw+uw4jQRSOk9yXZg6ACGO67QexbokGb3JVMMH6vWAVoQj2R z6Ow== 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=jVXRS4IhtoKgyGieQ5nVROpM4QmMLzQD2Ipgiq2qmbK6gmzBVe8wSeeldYKtVNYb6+ Xm1VHtzgdq+BXd1jHw3leIq7UkyWUjJs+WzyZUMWlLUWutjg5WjqR9EB+ATUF/5uDAP9 8uhwdmnp3M1Cyfjs/IGENSGhVOvoncJv1DTJsTmKpONtEoFXxOT+y05PtYbNEL1VhlON OTmbQgWS/4q/vDX6vkafLDu9CQQ/8zaPb5AnIssobk5guHjE9g+/Y7S6oafQohJo2ZIj PV9+geZavh+sZ9U9vwlMK1Q+NBOVuFeXntOvMCT8vWdrPwVGL76b9Sye+tpeohRoEcOp QG0Q== X-Gm-Message-State: AOAM530VNO/P590Wn8D1anjbmQ3nm3Z6bB87Fnds484nk428s3QPKbJg Vx64J2QP7XRgfO9YCP1xwSQ= X-Received: by 2002:a1c:28a:: with SMTP id 132mr21936001wmc.2.1617545397329; Sun, 04 Apr 2021 07:09:57 -0700 (PDT) Received: from agape ([5.171.81.112]) by smtp.gmail.com with ESMTPSA id o2sm19546681wmc.23.2021.04.04.07.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 07:09:57 -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 v4 04/30] staging: rtl8723bs: fix line exceed warning in core/rtw_security.c Date: Sun, 4 Apr 2021 16:09:20 +0200 Message-Id: <862862a3e309209e2508de0c9a1b5a02ce1312b2.1617545239.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