Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp872086lqm; Wed, 1 May 2024 20:10:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6qBXNGQIgJyq/wDfu6Igblz5piU42j/kJf+koA4N0fpQwKsZKOlOPzK4UnoqTFifGr+jvHFcdY8Q58ib22h0+J1ULf6q1iRgcm2PHWA== X-Google-Smtp-Source: AGHT+IEo0T5t65mOU5/HyEBReubfk+wh3Mxzhhn5Q7UHHLiArNZIuVPZlZRYtFq7kCoOurpliWVf X-Received: by 2002:a05:6a20:7293:b0:1aa:6100:3b01 with SMTP id o19-20020a056a20729300b001aa61003b01mr4700771pzk.50.1714619435232; Wed, 01 May 2024 20:10:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714619435; cv=pass; d=google.com; s=arc-20160816; b=vafmex/ZMKaQsEKGhg+a9/WXTT1SCskvwdmH/9HpSnPG+2yCqt/LvpJj3eBysb//RA UeTvZbswKEcwejdHPVhqWRs1QZrLnavNAEDdFNgbTuybn6fKiuqJ49v5lGGh9dniwXrH zfJBM9E+GKYQtz6F9UcKoxTYlDlf5KoxGphDAR8B7+Oiq7nxuD0VEaMpBWlj6mU/espf JUcz69jEZ2t5fUJFHV5dn3a7QdiQcpBx23mJuVLH8ojE8bfB84P1YHod0j8qXl66dubs QBIpdQ6y95f46U1jqzoJqJK8KsTPRfexiFpAABoqOQ+WqQh6cqAlhZN+nu8WMhKI10of wmbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:subject:cc:to:from; bh=DEWXtQ2LUzVHNYDw3bDxj2jM8zAkYq5Gj9tGhEoQv8U=; fh=vA3b4vnjfGWU5ISmzNKPzOnI4CSKXZuelsgh4NAdceo=; b=QD2ahxk0urx5sdLnraLWunYDqazdqudKOdQyzdUq9slMo97L9MIIs34JRBtz89K1tn BkRPId4r3WuGbXFsf4pzcyOR76yNMCDkYkSQnH27SkgU/8ujrU+Ypi3T4ueQre8VWpjH tS32TKMLTLP2aVyaeF0O3jM1kSzBI1rE37D5vxaCX2CeEfDWEuOr0gEzXWOpnIob/yRI lECDD7CUhHBzFEY4JV9sx70Kb/VIJ4e2hyATWfrhBz2CGVcaN+yBTTZhVW1e//esnWI7 tNqhy+PYTq1T2K30ttf7mnpn9i7SocIGZUPOcVnBfxyzAhZRdGTGslj3HYCfWzMjiKYL /crA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-7104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7104-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mh5-20020a17090b4ac500b002a63dcc38d7si202590pjb.30.2024.05.01.20.10.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 20:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-7104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7104-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A9ADA283608 for ; Thu, 2 May 2024 03:10:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C7BB18054; Thu, 2 May 2024 03:10:32 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 6908E1643A for ; Thu, 2 May 2024 03:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714619432; cv=none; b=G5MRn6W+kY2XL5wh3cFwULlUDRPtjdGRxJclAlLQaNAb03ansiWQCxI0shNSf5JpsYvQLJCUlut57VK0rUgXUega0Sv7gWhLLNU7eO3xC+3yOoFYAERQUbv+AtzKZDbk7H1qNx7Wdn1duHMB94aA57HlTh1N0Ieax+/zrHeoriY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714619432; c=relaxed/simple; bh=mopkGX2X8cXrL2cs6Qb9ktSUdgdikMun4gc78l2v3H4=; h=From:To:CC:Subject:In-Reply-To:References:MIME-Version: Content-Type:Message-ID:Date; b=u62/Df2PIaworcfaE24ZL6yjFr+a97Ury7PHFhS1JwCBTBt7cZ95OoeAqAU5oQ8Dxd9XyFW9h9Xm7pGPDYb+NDQeyl+kp1+H8h5MC1XrvRVotcebnroS+8VVrsLpVEajN/OMNDCaNvSw6QuynhD+LpXAp3zqxKQleq+yKL+QBXU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 4423AMNA02056113, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 4423AMNA02056113 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 May 2024 11:10:22 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 2 May 2024 11:10:11 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 2 May 2024 11:10:10 +0800 From: Ping-Ke Shih To: Ping-Ke Shih , , CC: Subject: Re: [PATCH] wifi: rtl8xxxu: cleanup includes In-Reply-To: <20240429024711.30992-1-pkshih@realtek.com> References: <20240429024711.30992-1-pkshih@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Message-ID: <96a9b237-4b6f-4af0-a17d-66d1f8b0cb5d@RTEXMBS04.realtek.com.tw> Date: Thu, 2 May 2024 11:10:10 +0800 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) Ping-Ke Shih wrote: > Remove unnecessary includes from driver. The first step is to add > necessary includes to driver's header files to make them can be included > individually. Then, driver's C files include driver's header files first, > and check if still missed header files of kernel. > > The results show that most C files only include driver's header files. > Only core.c needs to include additional linux/firmware.h. > > Also sort includes in alphabetic order. > > Compile tested only. > > Signed-off-by: Ping-Ke Shih 1 patch(es) applied to rtw-next branch of rtw.git, thanks. 949f6f3aeb87 wifi: rtl8xxxu: cleanup includes --- https://github.com/pkshih/rtw.git