Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2959252rdd; Sat, 13 Jan 2024 08:46:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbJunOoeoVMMOhtM4+1EpiOXYqI7u6u2AVFVOTuQ93/T+XCv29c2F+ZZOMeYv4I+tBXCQ2 X-Received: by 2002:a05:620a:1351:b0:783:3015:2e8b with SMTP id c17-20020a05620a135100b0078330152e8bmr3391289qkl.103.1705164403495; Sat, 13 Jan 2024 08:46:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705164403; cv=none; d=google.com; s=arc-20160816; b=Xw5++EbVicZ30xVAEvOe4PlXe8vBdFHdDMctBBdDwT9rqIEgkhVKde8/7CqvcHprJx J7YxpYzSy1AUyGr1tdjoq9YzSS58zuSbc7FsaOCjQyz38nY4Ld/hOgu5yl5N5ytmxOIq 4n9vj04u8N/g54n2Xq7vx7mTvZLl3SJKQ34aI7XrT2WbSXF/QuLl+zvHIIIUboABTdPH QTkDeuLnL5pZ55AXHVpwA+UxcJdxENZ86BfKniE7z6FLfjkcSBiz/AoRUWIfmDfT5pNB 0JPKH2EenLl+zp+NwhkW5GBt05TUZfmmj9sXvmHs/5vmvyvuBJrcIqZAV1AlHHX3ZgTc fWdw== ARC-Message-Signature: i=1; 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:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=Irb6hk8k0miS42S4nikrO3FNtDn0m54Yz2FIN1V9fQ0=; fh=O62C1CVOsF+QDOSS3mqd2g9+Rsi4LfhXXHtpRhz1gT8=; b=vaExS/f/UOYtOs8EQ7d46jQwUjNTp9Mr2+hpWn5VROturTUiC4k4jCHUyWb+yShKDh RFKA8Gk6NtzluJBM18JJciRinuOk7xGN9xGpnN7SC65rFNRIZYbtq4y0E/uwb51Mz2KQ 8PdVUwjwvyZewQjFGGBFbK9Qch4381iTlnWI7m7idTAfEgT6mk42HnVAHk5OxMntahfQ IBwGohp/uFMN4aPMW4QS6RHC6CWE+Py+nKQk4ympgUFmSA/0hyuXJpZoDvg2jW4zqrEs fHDk2XG+3dz+y1P9TWiogRLtaWUoF62YT0b2uTwfwxuUF+FPgceUFpoWbqb/87RvjCGO b9pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gJq2aJdk; spf=pass (google.com: domain of linux-wireless+bounces-1879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq42-20020a05620a46aa00b0077f2859aae2si5255949qkb.246.2024.01.13.08.46.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 08:46:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gJq2aJdk; spf=pass (google.com: domain of linux-wireless+bounces-1879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 D62301C212E2 for ; Sat, 13 Jan 2024 16:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8FE84C6F; Sat, 13 Jan 2024 16:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gJq2aJdk" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6DA24C65; Sat, 13 Jan 2024 16:46:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 929E8C433C7; Sat, 13 Jan 2024 16:46:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705164396; bh=VUclddjcZSmohXUG3CiQi1jaoQVq1DeF2h3vDJ15cM0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gJq2aJdkcuDG9gBOJkweuzqeMhuqAU2QPyebUb1kQqVYfhyYvlge5Y6HWGGnexmXf 4010MJ57Uqa8naU4hMWlZ4HRMmnYs8QUK5C73K0bXtYvYhxm1cVdY1lF3pbtKWv54I rgPFo60mMj2vxShOfggXIfIsmG95e/tSdAaJgFxPLeTVedFt+QSy8LUceWpHdDuItv tYiNNOWKV7CfGN5zlAKkB5l4WPleLnLT7iYgdEjNM+UI5rqlAUleTW8j/+F5TDj3T/ VvmEKMYVatzICO7F25ETsEd/+G7JS3I6/TQjOAE4sxMLtjdToqXuOcy65Ul1P1J1um SpfrazZltzCTw== From: Kalle Valo To: Michael =?utf-8?Q?B=C3=BCsch?= Cc: Yang Li , Larry.Finger@lwfinger.net, linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: wireless: cleanup patches References: <20231220011209.127586-1-yang.lee@linux.alibaba.com> <20231220102307.7dd1f187@barney> Date: Sat, 13 Jan 2024 18:46:32 +0200 In-Reply-To: <20231220102307.7dd1f187@barney> ("Michael =?utf-8?Q?B=C3=BCs?= =?utf-8?Q?ch=22's?= message of "Wed, 20 Dec 2023 10:23:07 +0100") Message-ID: <87mst989lj.fsf_-_@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Michael B=C3=BCsch writes: > On Wed, 20 Dec 2023 09:12:09 +0800 > Yang Li wrote: > >> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D7783 > > This link is not publicly accessible. > >> a/drivers/net/wireless/broadcom/b43legacy/dma.c +++ >> b/drivers/net/wireless/broadcom/b43legacy/dma.c @@ -174,8 +174,8 @@ >> static struct b43legacy_dmaring *priority_to_txring( { >> struct b43legacy_dmaring *ring; >>=20=20 >> -/*FIXME: For now we always run on TX-ring-1 */ >> -return dev->dma.tx_ring1; >> + /*FIXME: For now we always run on TX-ring-1 */ >> + return dev->dma.tx_ring1; >>=20=20 >> /* 0 =3D highest priority */ >> switch (queue_priority) { > > Thanks for your patch. > > But actually, I am kind of annoyed by the constant stream of whitespace > fixing and dead code removal and other trivial changes to this legacy > driver. > > It does not improve the code to add two tabs to this _ancient_ code. > > And I can already see the next patch coming that removes the dead code > after this FIXME return. And then the next patch will come to remove > this function altogether, and so on and so on. > > This driver has a _lot_ of such code, because it is based on reverse > engineered knowledge with many many unknowns. > > IMO this just creates additional maintenance work and pressure on our > maintainers for no good reason. Yeah, the cleanup patches are a problem. Even more so that there can be people who deliberately try to submit compromised code: https://lore.kernel.org/lkml/202105051005.49BFABCE@keescook/ brtfs has a pretty good summary about their feelings towards cleanup patches: https://btrfs.readthedocs.io/en/latest/dev/Developer-s-FAQ.html#how-not-to-= start Johannes and me have been talking that we should write something similar for wireless. Maybe we should start by adding that link to our documentation :) --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes