Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp636034rdh; Thu, 26 Oct 2023 11:18:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsY2s2NdfQOmf7uAOtsT5KEcGRrIMdlIZuNWMI7lfOIRkI03QaC2uAfvs5zswB7SPq5SaD X-Received: by 2002:a25:ba13:0:b0:da0:c80f:5775 with SMTP id t19-20020a25ba13000000b00da0c80f5775mr80560ybg.61.1698344320040; Thu, 26 Oct 2023 11:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698344320; cv=none; d=google.com; s=arc-20160816; b=ftQ8Om1eUJr/wpK2Q/oCieR3EHqv9VZxO4QZrnbFNlYCSvz7m3sr3MsrtoGxppMkBm hpszR8MZwRw0tGAzO0ICBH7NP+mckfwXo4BVLpkq+aRfQ2Gt1ilCdb/zvUh4e/Wp3wfL XG46t3MiS2GMpuBvOpsxhxrx+x3yR5oIzAJXIhf9FWNh46YDHC75rslyPt44uPtDkK3G Fp/6dZ0sE6/tWTBmD7WCg/fByEeSaC7cuGjSWArBowpgbIQFEa8i3eujYC93omGErl+K iXE2iHqu0MUba0UJ/qQZ1eX6jOmYZexH3ER98j21WNjbIjHwmc1l0G4pTW8HJ2ZsRh9H dNqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=vTA02l0ubFVwBtbEfhw+KExb6bkxv2C0e8twmLrMufI=; fh=V9VK+XjB17lLLrHQIBVbMgPga2HrXk567vRC0rbWjUE=; b=PdvOycNo6tKUAQphtn78sbEFYKm9NLheCh5V5mZVdpt7FYOCv4HamMd5hL8YDBfdVS zFi1Y3/linA8jY/RwjNM4gCku+olH4dtLXY6aSMvkNJVQ8FDvzkZCBumi0kuOgNcgOrT 9sKSUmMI+waQ2reDUCUUT2ZY5XdtPmdV1dihBEEwtTh/2YLF/GFWbrhvbAErvG7rRUv5 0c7k4haUNt9dG/XWoTss/4WY4jPjMWTZpU+8EV9WsV+QDNbdHsniZZSI+tU9w0oG1M3m TWQyhjzihmRwVfFX+na6hYr8d4g30HOFxvjUBwNd0H8y1nySK1TREOpEpsIEGdotlFYw 9E5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J0NwBsvC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x34-20020a25aca2000000b00d8170cee78csi15346168ybi.227.2023.10.26.11.18.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J0NwBsvC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 317C4823626A; Thu, 26 Oct 2023 11:18:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231625AbjJZSS2 (ORCPT + 99 others); Thu, 26 Oct 2023 14:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231701AbjJZSS0 (ORCPT ); Thu, 26 Oct 2023 14:18:26 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6F7E1BD for ; Thu, 26 Oct 2023 11:18:24 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9cc6c92d1e9so36040366b.1 for ; Thu, 26 Oct 2023 11:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698344303; x=1698949103; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=vTA02l0ubFVwBtbEfhw+KExb6bkxv2C0e8twmLrMufI=; b=J0NwBsvC9wBnqtFFoewVnsHvlxPqQTjLUnS6at9Dm+82kS3TWTMaeRLkBbEOzjIJUx uRTWkFJWImp/8B5khUz+eP0cdU2kUqaNBQujCgU6VVKzKrjlgDe5xvCGqkPpnZRMPfAE 7eO5qLHR3wHF2KvkpvPnxP8sqWlX3Ap7g5vcENXnrev9FL4TDP8b24pOgONDJ1rLsj81 JAbS+kggMFHHCBCG0zke+vPToWOsvRsj4RIVX6it44/g3OaWHOU+7b8KWHX5HAC7O3yP oHgPxgTRSmDVTm6BdNyna/erkm2nd4cYHvM132vpU9GmtCQpmK2EVCz2WZs7yKqfyubO kqGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698344303; x=1698949103; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vTA02l0ubFVwBtbEfhw+KExb6bkxv2C0e8twmLrMufI=; b=cpW/uIIoA0cWPsSfEgOatRNXceb72QyKChMZxREj46OtGgh70ryGaQ7ZYwglI9UprT ySaU/p7CXBDKtejBJV7aFwU9txD4gZppEEv9na6M7WgLGAx5y6KQxM8YeHhPKb1rBbec HFDYwp3ZQDt8a0xe/PYIXvDtWn069KzJ7SxutulgphInbTMfRtuM5npFQVwktL/xl6BP vP4J8MOUsa6LV+7Xb3E0F2rD1P80Eh1lAtElN5N/lHqm/pGM/TmAA66EuR/HGmXRmPFB 1EKDNPfkkERsk09SURbffp9vWe5Bqdzfeha7kWgOc/kjqguih9C85dRiNH/QnLZeDMp5 Zr0A== X-Gm-Message-State: AOJu0YxC/LbEX+o77DMYADcjbSSBY0S2f7ZYycHCucUsFQca3G7KgKs+ +KsvvBbEXF0jkpj3V4xNPvw= X-Received: by 2002:a17:907:2d27:b0:9c7:5db4:8080 with SMTP id gs39-20020a1709072d2700b009c75db48080mr348999ejc.7.1698344302945; Thu, 26 Oct 2023 11:18:22 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id p6-20020a1709060e8600b0098e78ff1a87sm11985037ejf.120.2023.10.26.11.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:18:22 -0700 (PDT) Date: Thu, 26 Oct 2023 20:18:21 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Dan Carpenter Subject: [PATCH] staging: rtl8192e: Fix line break issue at priv->rx_buf[priv->rx_idx] Message-ID: <20231026181821.GA21819@matrix-ESPRIMO-P710> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 11:18:37 -0700 (PDT) Fix line break at priv->rx_buf[priv->rx_idx] to increase readability. Suggested-by: Dan Carpenter Signed-off-by: Philipp Hortmann --- Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index d2a8a9543579..995daab906c9 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -1610,8 +1610,7 @@ static void _rtl92e_rx_normal(struct net_device *dev) skb = new_skb; skb->dev = dev; - priv->rx_buf[priv->rx_idx] = - skb; + priv->rx_buf[priv->rx_idx] = skb; *((dma_addr_t *)skb->cb) = dma_map_single(&priv->pdev->dev, skb_tail_pointer(skb), priv->rxbuffersize, DMA_FROM_DEVICE); -- 2.42.0