Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp37379lqk; Wed, 13 Mar 2024 15:39:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhbYpMJxK2S5uWf7FsKonXw0MWUxtr2oVyWN2c2pij9jwSmFuIr0UkULYLhxosh52fCSbky0qRP+WigIKSFGOYIAz8mFnSZDVXaFW6MA== X-Google-Smtp-Source: AGHT+IFHQgNHIa2OBpHSycxvyox4y3rbbLAPKhffgxbajEMHEEPjv/6laVOztZX6hU3hxSd6nmJW X-Received: by 2002:ac2:58e5:0:b0:513:9e44:c68c with SMTP id v5-20020ac258e5000000b005139e44c68cmr7627124lfo.6.1710369575800; Wed, 13 Mar 2024 15:39:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710369575; cv=pass; d=google.com; s=arc-20160816; b=Z77u8RTY4VqJAhcwzT3L4tDmn8g0szij3TLmqSJW8wSry69v7iUTNJGeex45p4kieh StGF+UoqoH13/0WQHa8Hr7JEqJv47wThk5IMHFJ1ueh4fTXW+jJ9AS8drocOmRj3FANu qQqBMdBjDqf87uXwIkBqTAiM+suejBV2nNYxkv5L/3xE/5dy1Ht/QemUfr9zvt+dnsUK IgPBkX0d6LAo43eUNfkZnvK4SMPOJum6a8REx/TLQ9iPNs1yPjpKHriyjmIrbIk4n155 I/GW8sRlCwSTu/sqB6ovTOQX6SeP11/EMxGmy0uJ0OI6rWQ0iTZ+W9nhiWp5LQbNmbt7 tPFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=LwL+GicBufDVGk1Rl0eCOYDPwb7OtUmhPqG6PIobYOs=; fh=eUnCmTYLf9T5BTWldqmvs8RIiOEEvJfmvsKj7h/8vUA=; b=Z9lAWrMRt83oVitftlr0KYHedrfUALSDfCzPzkNkRGEmA5RbtA8q7uKhCHYEPhe2lj OaQNFNmZPyHQax00P+LVEyHXcZQge01R3iJLKgnfLChdmJ/6/rmpLlFnS/cGaEYincfP BbDqtg187xgBxNzt8SlbaXsFaTnMGmPJG3f3rg/MY6vswxluLcc2E2oErIOrQ2vDbOnE NJODLYwHqL4vfDp2K4wCYp55hNM693+D+9208y7zF3gGO0bkuZ7toPFiF8EizXEE3ORJ ZtEE41fNYkvIVLXn22dsnczA1PftHHdWyo/dR/gHW2hA7oYIfk81Awg2kNnZFNYNJiuG KPIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wav7ccjK; 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-wireless+bounces-4705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z13-20020a05640240cd00b005682fff2d3csi80669edb.465.2024.03.13.15.39.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 15:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wav7ccjK; 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-wireless+bounces-4705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4705-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 83DE01F22C3C for ; Wed, 13 Mar 2024 22:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CA035490C; Wed, 13 Mar 2024 22:39:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wav7ccjK" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 5E4424691 for ; Wed, 13 Mar 2024 22:39:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710369571; cv=none; b=NXQPLbZ3h/ZCQywRUwS34crIrvtdF4Y9z4EO4K6aj0W7mK5+jwBbvX+puiLFr1zok/qBu4dD3EQ0stQmar6yPSvfSS2YqsaY/MUc9QUkMv4a6uN+UVk4eQqqVb3E4YLHlq3aSrBKaDh8pTDTPDN6ejzGJqo59K7nnXcnD98+W0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710369571; c=relaxed/simple; bh=9M8yIRNWxIMTjS1BRyCR7cP7F9pwIK0G/WIGClxX2ko=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=daKBVAPxYjxLaL1WexGsybaZMWz/YHCQm5XkpvlUBFivRwKtVdfbXK7og1euyP4qx5s10tp+w3zQzeJdcATnjvTRr1CMwEe+LNJQTFPx1bG+RMBQaVVlpkux2N74S0blgWF2SwtSLrt+AK2tsBd04zYG1L06pyfrrkCorUzGYlM= 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=Wav7ccjK; arc=none smtp.client-ip=209.85.221.46 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-wr1-f46.google.com with SMTP id ffacd0b85a97d-33e1878e357so110866f8f.3 for ; Wed, 13 Mar 2024 15:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710369568; x=1710974368; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=LwL+GicBufDVGk1Rl0eCOYDPwb7OtUmhPqG6PIobYOs=; b=Wav7ccjK2I0Ub5vFSPbuOb+2QxYPoGCBbVnm9GSt0Nt5xyVXKOqyvnniHsN/aZdAo2 Q3C2KZalpMhi9bhsShsusdH+aHAMW5qEevsVS2WRzk3bOc2BchYF+MvnOIhVzWh+xrFz cBZTpOjVlog9OaY0W9LOcYx2ef78/53x00N78LqvVoofaqa1570c3Gg/edbjh+z5RQQY obPrubI1af/9eXVR6LXMf3gqQdtYkLHoQ9GlVGWKPaEJ1s2JCY2blyGr3PlJDvXKHK5e 88Kv08X5qS2HxdtuFx1qvRoA6gsUqAJzpqXDnraFxoIO5ILNWpMBxD1cCYXxTmsqyZn2 soow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710369568; x=1710974368; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LwL+GicBufDVGk1Rl0eCOYDPwb7OtUmhPqG6PIobYOs=; b=uCavX34ARD85/cRYloRXss3ggX6GYSwmkCETCYxsqEz9td9itNg7bWKl1ESZIHxAH+ PwzJDhFD1LTTZBcHG2GybQzLEbFcF7C46RqFrc+Pr76VhIqIqm59TVt/JtxMl/ITurx/ vWST7kyJTM08AbYTJSg+8gLbZ8mXaIQOZhzdVvHnl8tE2jjkn3iMaKFsXMQLPBDvJqOR 9rKxBW5f8PoTCFwx16eYkjZl22dF+1zW7JQY6fQpt23gQUpXDa33mgwc+IuDBx8SJ+lF B0UQ4+3tg6vLmmrp4LDxIzCYd9TK4l/gIXRUZ+dfCF5V78H3D6XoXDur3gauETkm+aax Qn9A== X-Forwarded-Encrypted: i=1; AJvYcCXxFRxL3IL2fz+jnQzWY2fsX+Tr95qHo7HvGh95PqB1+yDTJra3EoQ4cvr8ItolKATVp8s/UG3NrXw3IYC9+I+Tb0Gx581s8luyj4Z8DMk= X-Gm-Message-State: AOJu0Yx5/J1d7LsdT3zljwiWZAnPds9dy+divbAjeMflz5kEJ+ubmKCG 9f99IFsfNOs1C+8dMtTgCvRwVp3Qfv/lP8gclFWDaQhbtJcl3XBiCK+zcQeI X-Received: by 2002:a5d:6a04:0:b0:33e:9f81:4a3f with SMTP id m4-20020a5d6a04000000b0033e9f814a3fmr9047wru.0.1710369567398; Wed, 13 Mar 2024 15:39:27 -0700 (PDT) Received: from [192.168.1.50] ([79.119.240.211]) by smtp.gmail.com with ESMTPSA id bu29-20020a056000079d00b0033e456f6e7csm167144wrb.1.2024.03.13.15.39.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 15:39:27 -0700 (PDT) Message-ID: <7eba247f-fa78-47c5-a130-5d07689180df@gmail.com> Date: Thu, 14 Mar 2024 00:39:24 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Bitterblue Smith Subject: Re: [PATCH 1/3] wifi: rtlwifi: Move code from rtl8192de to rtl8192d-common To: Ping-Ke Shih , "linux-wireless@vger.kernel.org" Cc: "Larry.Finger@lwfinger.net" , "s.l-h@gmx.de" , "chewitt@libreelec.tv" References: <27f2a0a588ed2f6c3c89fb0b60eab7d2f60f65b6.camel@realtek.com> Content-Language: en-US In-Reply-To: <27f2a0a588ed2f6c3c89fb0b60eab7d2f60f65b6.camel@realtek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/03/2024 04:16, Ping-Ke Shih wrote: > On Wed, 2024-03-13 at 00:18 +0200, Bitterblue Smith wrote: >> >> Create the new module rtl8192d-common and move some code into it from >> rtl8192de. Now the rtl8192de driver (PCI) and the new rtl8192du driver >> (USB) can share some of the code. >> >> This is mostly the code that required little effort to make it >> shareable. There are a few more functions which they could share, with >> some changes. >> >> The only other changes in this patch should be adjusting whitespace and >> renaming some functions. > > Please run checkpatch.pl that reports > "total: 5 errors, 20 warnings, 67 checks, 9388 lines checked" > > I know you just move them from a place to another, but let's fix them > when touching. > All right, I will make checkpatch less unhappy. > > Two unused warnings on channel_all and > rtl92d_dm_check_txpower_tracking_thermal_meter (you also pointed it out) > > Ping-Ke > >