Message ID | 20240223175836.541337-2-bergh.jonathan@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp747974dyb; Fri, 23 Feb 2024 09:59:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnVSpVsX5AnMz5qnsq//PRmJCIlhv6sTP+d7djMjKyok5Qifv89mY4ObmYhnE9v0Fm20MXEqovVjKlUVBApvKZUWnEdA== X-Google-Smtp-Source: AGHT+IEtnJbwIFPmII4Tp8MvD4wZGJMiKwFbpdZVrxdDVz4fx+cYcb9eypgGJFwKoAYuoLTxyvX7 X-Received: by 2002:a05:6808:3d8:b0:3c0:4719:45ad with SMTP id o24-20020a05680803d800b003c0471945admr454569oie.40.1708711157816; Fri, 23 Feb 2024 09:59:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708711157; cv=pass; d=google.com; s=arc-20160816; b=xHzZM/HThgNdw3JIgcg3oN+zRbpC1EkkPD1sZmGOna5iE5JQGvO9LU4ximrT7B8q6F s1gNBcWaU4WBKrw7NYgKUVtnHWuF3ut8QT2C0T38A3MqH5cxvKv4U/msNaPkL/ZXzk15 I7I6y8KcrK5zhwEdZ8fbMy1CYJ1YYj7yCCpw68AOvsm6YOkwccYVeSBjbX8/tDfbzf8f 9+qOzTssrq2ZS/Lac/xJAfgPLyTI0Df11HVF4pPW0QBFRhAMY5z5OCJfB0Tx+8Z6WIlT nH5UDoftFU5Bo96bfWCYg1QqTO0X0YJ1G3Hra6Rqns1207kOlrDlNNkCmWzgesbEkgyT lTOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gjPLPth3YBrz5IbXnB2CEJbAtOdB4AEiM340Etx+BTA=; fh=LQzDwc9lM4hjoUEE/ScDzLHeZqcREdQSJqDfCgtr4ZE=; b=WGOGET9uwGkhkhC0c5hzO4Z3lO9pijcRHxQ0K1LVYXDuZV1BBDJzTPl+S3SXsgBj0E kedU1L6rXQPp8wmFhdakrwQfqRuL8dE4+0+vO0yiQ9WIDadE+iN6UJUXaZ4sb695JkKT TuIh8kx/kQwH1375OtDlXhiaNGNwk4Wd5xqDN5b5gnFNhdys5TkTwOBOkHrdNknkj3x7 hEBPMAWdhZFZmrkR2mczqubtcn0t1tX570qmQZ4MW+S73SZJhpD69Aebwgw+NkWCGSiD 8IvD8fi7aZc8zmoAhD1wk2J4p4vxrnvLU23+AG6Crw0qN7YYqbQjgbEFCgk48ArmcpcJ 60gQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A6YPe/w2"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e15-20020ac845cf000000b0042e4c1029fesi3784868qto.539.2024.02.23.09.59.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:59:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="A6YPe/w2"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78936-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 981B71C260E2 for <ouuuleilei@gmail.com>; Fri, 23 Feb 2024 17:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B21E3143C63; Fri, 23 Feb 2024 17:58:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A6YPe/w2" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97D42142623 for <linux-kernel@vger.kernel.org>; Fri, 23 Feb 2024 17:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708711134; cv=none; b=RBQGvSMf0nKhRrngeedMOqRw+9U18KYmHrfbNPho4f+8GRDJkUbDDuiPRvk2Bd4ImOoComlwcrT3Xgs3DGG1k2i41ZsbmM0ixjHbjMZwsa6tmKaE7PI+E7k9rWKJTogNKHZe1tEnDHuU1ytS61e6/rywLhoV8N3K1fLl4GjqZgE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708711134; c=relaxed/simple; bh=SCO8ITUqhG2FbmejGhM3Vq7ikdTJoRqR5JOu7/L0C2c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Ud0RrbbzAihpsVi2ZQOx3HE8vN9w/gWbqiWr6nndAx8s9WvHSGWv8B0Pdslz9vrb2/iyW6PIVgwe5/w7OkSmw5rZ1FFY2Kp0j+W3YYmbuCnqMNCkr7NcB2sdI+wd4EiG97PfUbjOxat0Q0sBrf8XQHjt8pnXhUa7Vt3sUBQhO2M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A6YPe/w2; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-512e733a525so626920e87.0 for <linux-kernel@vger.kernel.org>; Fri, 23 Feb 2024 09:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708711131; x=1709315931; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gjPLPth3YBrz5IbXnB2CEJbAtOdB4AEiM340Etx+BTA=; b=A6YPe/w22blmkotXB8OQLBFBgnYG9+48SaKuNvN0LKiZHbtLebIpWL+NbirFmY27tQ s89smwT+koESylTQmtNbfFagmscCQUdhMqLIAJJnXGSEtoIRQd+SgCkt2kOo6PEjq4Ur 4Gqymtttg7WvbSWvEjPS0Nz/V2yi0X3S6hsk7VRNh0A/9snfpmQhaKspxUxsCvIXVXHg qC4POLrSyfyNPPdBbzRYiWRi/0+yz8ZEO1DoTclpx8KMlLQ2Y61ijITbC0HJ47UzraMg 3ltWj4GyQckhIRPAB57VEyfaiJNCystDmvcbMNezh94+wrtqglpIxut/ISCVnjYFW5TR coJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708711131; x=1709315931; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gjPLPth3YBrz5IbXnB2CEJbAtOdB4AEiM340Etx+BTA=; b=BUDRhZLdX7ta78xFdrWXh4gnwPNyWk84czPvgfkeLFXNAW6LVxN1bnMElSJB6d7oux IHH4dbf02R+lFk8W+hKmV0XqjEfL72NhzWXk7Z10Fgg2qIurHFfZi4DZRGzNtri5fJPQ v+JrkPwHsXFhkLdM0g4M1qMRjk+5eMnIpd7G1sXrFJwsDtP2AOD5KXhWjJ8lo9jjELZ9 ZVuwDqcgjPGcForsBJrAI3ffjNSf20LqaKWshRU9AWOeAguQddA8DYlLDhhF679qPKO/ eA+wqmn25ppb0dyIVwD8R0Mhso/ynJrcU0HNh6V1X2xhxVaWX0awvvxqFd3gsPUKZWiY p1Gw== X-Forwarded-Encrypted: i=1; AJvYcCVSrJ+pwhA+wPccD2U7EeTRFcQ+DkB+xgAcPGzhq2sOHrzSNo6D3X7v3o+qAPwKI5O56zdYhXC92fZdddDznIf3SRui1obszpKr7uq2 X-Gm-Message-State: AOJu0YzkC/Tz0FO5dW1hZc3fTHJ62Wye30RXDxHWekvAZaWbPGSToS/G gxMZWCQNKX22lz+Vkz0KjxrWbz9odSiblgKQuA8ztpk7PS5Levbs X-Received: by 2002:a05:6512:20c9:b0:511:aa89:2cd8 with SMTP id u9-20020a05651220c900b00511aa892cd8mr135231lfr.18.1708711130673; Fri, 23 Feb 2024 09:58:50 -0800 (PST) Received: from localhost.localdomain (c83-255-24-248.bredband.tele2.se. [83.255.24.248]) by smtp.googlemail.com with ESMTPSA id w11-20020a056512098b00b00512bc1445b6sm1785479lft.234.2024.02.23.09.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:58:50 -0800 (PST) From: Jonathan Bergh <bergh.jonathan@gmail.com> To: gregkh@linuxfoundation.org Cc: dan.carpenter@linaro.org, linux-kernel@vger.kernel.org, Jonathan Bergh <bergh.jonathan@gmail.com> Subject: [PATCH 2/2] staging: rtl8192e: Include blank line after variable declarations Date: Fri, 23 Feb 2024 18:58:36 +0100 Message-Id: <20240223175836.541337-2-bergh.jonathan@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240223175836.541337-1-bergh.jonathan@gmail.com> References: <20240223175836.541337-1-bergh.jonathan@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791713511139859464 X-GMAIL-MSGID: 1791713511139859464 |
Series |
[1/2] staging: rtl8192e: Remove unneeded braces from single line if statement
|
|
Commit Message
Jonathan Bergh
Feb. 23, 2024, 5:58 p.m. UTC
This patch does the following things:
- adds a newline after variable declarations as per code style guidelines
Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
---
drivers/staging/rtl8192e/rtllib_rx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 4df20f4d6bf9..c7c8ffecb825 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -945,6 +945,7 @@ static int rtllib_rx_data_filter(struct rtllib_device *ieee, struct ieee80211_hd { u8 type, stype; u16 fc = le16_to_cpu(hdr->frame_control); + type = WLAN_FC_GET_TYPE(fc); stype = WLAN_FC_GET_STYPE(fc);