Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp236964rdh; Thu, 26 Oct 2023 00:09:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIHdsw60nkRqmfU9OcyoWsWEVjX+LGSrk2jQA1WKKswGqsBJ5JUy1R9DZxs/YG23+d8XVB X-Received: by 2002:a0d:f802:0:b0:56d:2f9d:42cc with SMTP id i2-20020a0df802000000b0056d2f9d42ccmr16025753ywf.51.1698304183824; Thu, 26 Oct 2023 00:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698304183; cv=none; d=google.com; s=arc-20160816; b=hHHRCdy2I5DsCtUypepDetxbkSX/Zh2tDP3+3cCCDfQWq/KSZSdAvuKmv6NY1Nnkon 1GJbtP0hFgQnmAg1QnJyonV/4Y4yWNmsDyzdkxWZspRFaLiVekeMqFy6zxyBj4oyL+/c yQ7j0wGqIEz4+Vx5b02lQoi8zabn9qRDop2N2Plzh8R+7xTU3JuL0fM7mnMhoNNTeegw grgsW9b2a+Uh43rsPnMMOGJTHmFiZtq6seC7bf4fAdUTNMEmb/HMbt3UivfpIIx8r5z6 j9ZwYvGppBPreBkYBx6SNKHDDu+2hYPek8FetZ4ZKuRt5+qb120DAcpaWzSl+UexUfCO XBvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6BILS8KUyc8CYNIz97erkh2z34zcJnlmkNV4IJqyOsA=; fh=zFkXNj5A0ZebMziytO9GS/FZm+3USkUzTWOcrg1oC5w=; b=aQ4qEXun9yRp/KQ5FeKhM1zlLC12qKfz9cLPq+hmV7sAt6mhGkI4dipPyH8xz9drcA EfjaQuGRBTr7iE52lmRnjUTQVXPha7O/bUk4VOiSuW1ptoECXQfcmqkyQas7sYGW3Zjk wsED1DPFj5+EERS8hMOQd54xknQpb60aEHDetBBn+GXgk4izVu0Jeksm95CARltwYOPr slDReNHjVqMlxgxenD0wMJuEEJFmz7uk1ImkQN3Is6Dsfo0I+uj9GbvjRPb/8T8pKFXV 57ttFrXypJNFDuoNNaeynuEmToaqSvDqbLyeVQDWMeTbBo9t7eDdhTTPRQP+FtDhM2gT T66w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A6xW9jrQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id m8-20020a817108000000b005898783d42csi13207661ywc.552.2023.10.26.00.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 00:09:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A6xW9jrQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E142281A8AA2; Thu, 26 Oct 2023 00:09:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjJZHJ1 (ORCPT + 99 others); Thu, 26 Oct 2023 03:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234816AbjJZHJY (ORCPT ); Thu, 26 Oct 2023 03:09:24 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 663151BD for ; Thu, 26 Oct 2023 00:09:18 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40839807e82so2830315e9.0 for ; Thu, 26 Oct 2023 00:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698304157; x=1698908957; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6BILS8KUyc8CYNIz97erkh2z34zcJnlmkNV4IJqyOsA=; b=A6xW9jrQSRg/bQaPX/UJYYZOWoz7c0wepilnjO0d6Yg10wGBxEcTsvs6ivyEDLPqgx q6uiQPR93VKmPatWdhY0/3Z+7Gfo9CQrdJ3BPbqo9TXz6iqn3zW6rv9nf4f3dctnZA/Y 2NNjOZSlqLPFpdB5toZF3UVU+LBMdf197yVBfYRmRdCf0fzWNSWWOEyyAjpQ9jQ3heVV 9js/QsRT9ZrK2e606l5lBul1w4kWpyxUL40a0TtssLVs7Eock4rn8GWYRYBv9MoYVOUc V75ntG2fxCefmnlZYfCV9+rvXVJCj47364IROzcaG73+Mw6Z5Gx4maJR98bw7dXLRCUv mUEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698304157; x=1698908957; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6BILS8KUyc8CYNIz97erkh2z34zcJnlmkNV4IJqyOsA=; b=IQZe6g+pjgAJgRZr9fEb4qM71cpTRic7c4ALG1cUilgPlscfQ0guvbc3ZNo/VR3zpz EGt2pOiAnHeAFpy58vE3KzBENcNQBPsVtOJuVJVvoY4QG8v6BbJ089PWBRyh8jXi2ClG 0gabbjTLZF28RF689WABiA3sQi7XSTkOlICT4MPySXv1sU1GDrRRF2+OLTvo9sA4myil seq9czMs3X3T8T3JVK6q0aKiCwe0azA94aEO9AYTAhDQwv9frinuSJ6Tgv/6fZBawJ8/ rw1jCJe2qH3ZixkM/JsGgETTIZ6Cz2hRSkvBoCTTiZQTpftXuoqPAeSq7sf4WzXS7Cm5 LTPQ== X-Gm-Message-State: AOJu0YycCm5RxFXqqd3oaj3b07Y1PIvGZbWsYFwYnBhBv3bJQYU5PfuR OErfQxy0ph4JKmfz0zb0qEdrzWDZdPuEaw6n+yw= X-Received: by 2002:a05:600c:3b03:b0:3fe:d67d:5040 with SMTP id m3-20020a05600c3b0300b003fed67d5040mr1980143wms.5.1698304156614; Thu, 26 Oct 2023 00:09:16 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id v3-20020a05600c428300b0040596352951sm1698897wmc.5.2023.10.26.00.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 00:09:16 -0700 (PDT) Date: Thu, 26 Oct 2023 10:09:12 +0300 From: Dan Carpenter To: Philipp Hortmann Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] staging: rtl8192e: Convert array rx_idx[] to variable rx_idx Message-ID: <008844f2-4cc6-46ee-be7c-50446ef11290@kadam.mountain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 26 Oct 2023 00:09:41 -0700 (PDT) On Thu, Oct 26, 2023 at 07:44:24AM +0200, Philipp Hortmann wrote: > @@ -1614,7 +1610,7 @@ static void _rtl92e_rx_normal(struct net_device *dev) > skb = new_skb; > skb->dev = dev; > > - priv->rx_buf[priv->rx_idx[rx_queue_idx]] = > + priv->rx_buf[priv->rx_idx] = > skb; I really like how you split these patches up. Like there was a bunch of different ways to do that and you chose one which made it so easy to review. You made the right choice to avoid touching unrelated white space issues. But could you send a follow on patch to move this lonely skb back with his friends? regards, dan carpenter