Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1375224imw; Sat, 16 Jul 2022 05:21:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vXY/cTRFx+Ul0fVe4HJXDFLn1ovtiKDamGaOV9pXC6tZvFCr92ukV0lOIXaAtjfoyGJnEy X-Received: by 2002:a05:6402:2802:b0:43a:9098:55a0 with SMTP id h2-20020a056402280200b0043a909855a0mr25064411ede.179.1657974071409; Sat, 16 Jul 2022 05:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657974071; cv=none; d=google.com; s=arc-20160816; b=pymFDbntTxdBzUQ2eUfkuuDlsPT8pehOe270dudxD4XYzvzhYQ1qGbsz+OByvCMizr xGkJQBHpp213YJgbduTfEWkCwHR/1CSoUMp0NG6OLcuJn+/e8M4UxqahxwFv9vzXeGV8 uos2rBVavt/bpB9YAgsWHuYWCnxNWWLBYn3OzfLksVMyYqTfJLxSc5BSA78fm99EnkXj Jc43gEQvgKifx0PmD0TDrHVsl30bpE/1tnxgwSy2IcuRMIEEE3w6yybPB/bRFTQnVkI0 zaJKHVPdHvAg5ljPSYfkNs9s6aD6gBIKCcL1xrSnTd6nzJnKeWWlLye0kZI/KMJEdkno mX3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=K1y/UJPxPUwfW6UWjIkb1qyn/R/LCx7VwgOQ6WaAtz8=; b=lk2T3foMtk5ieH0nT1AU447+W5/E8zAG49Obc5hXHUXLoFlOmgY0YDr4CoXUS5qT/y +SGZ3NwFN2kMXExKraynAX6vLLTO0e9k6qH3wQ9YzNFmb65TqemaGdnMJH/GbERf2fSE DW1d+xZ0MXPqSaBOq6ZhQgf90/+sp1IBKvTnqjUloRqmp5MqQpU79etGUc1ADpuZBJJO MzfP2xtnYUXzwZcM/ZjrL1z7W1DpHDa94pWs8AgXwWaM3Mws6JCODxE/SEKo+q7WQrCR sZpVGNS3VmhG1EeOpMYsSkczQ6Vtyw9blLkQIzGf2JGdntUAAmar7SXZUP2cu+3CmOhR 7NEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SsowFVwy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a170906a38400b00711bc35fedfsi7887792ejz.957.2022.07.16.05.20.46; Sat, 16 Jul 2022 05:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SsowFVwy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiGPMQt (ORCPT + 99 others); Sat, 16 Jul 2022 08:16:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiGPMQr (ORCPT ); Sat, 16 Jul 2022 08:16:47 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42BD31F2FB for ; Sat, 16 Jul 2022 05:16:47 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id q16so3539821pgq.6 for ; Sat, 16 Jul 2022 05:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=K1y/UJPxPUwfW6UWjIkb1qyn/R/LCx7VwgOQ6WaAtz8=; b=SsowFVwyjPiyY8IH8cHbEZBRAdu8lw6QXB246nYL8DDsaXNd5/olyU7Ju+XjgX5Sfj oAG2ILt//jwOlWKbOwCy2RIvH+GZtSZ4+v1vjkv5lpaAFU2yZd6aSASFOYlOEOckjaZy m3WcbGffJ8cQVqi6Uav1BHdm+zfeeioPdaG1u01uYYDAAc1KgutZU0fR1nB5d2/S9jOv 4M8ns3bOroOZNamFYVIyC1Uqw3Q+/06vM1ZuSvhk5I00OPNvZmpNkvw+egaTfB5A5L5w re5Def65PcY/x3BGHQmLfg8pI2HWA92h4wChd0dpp3R0v95IM9Lg00oFLvSXD7rE4kfa /9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=K1y/UJPxPUwfW6UWjIkb1qyn/R/LCx7VwgOQ6WaAtz8=; b=mZBz91j+IaNUPp+rwW9XLvX8cWBNHXbzzDThJFzGFqtpLVBIOhl6GpCm08dn3Bb6b8 kqHTBBfaQbYSAHPT1Ga7iDlgum3snltO/5pW2bbn1ocT0Ze4o5x5mTr/B/FvaB7qxxZO k+n+GPXxtPm+AfFNwvwpNuoGWjWKjLLss9R9efw91jKsL1JlHtxRUiaAhqSrffg4s/fT idiBjiggC0t0z7dxrvIqQMiSaYifg9ZrvPOqySBGOFdS6LIFxVps+wN27UtGLjvupXUT Bg8c8X6S2JZZGvhPwu/HUwI4mp8FovIIth/2C4Kpu1Qe+cjIAEiCA5vlE32dAXIBpLtd YxUg== X-Gm-Message-State: AJIora/KffZwMDxuWraplikTa5AuahRpCoAU9+TE+E0OkoppcZtOL5Hq 9kpe911qEmAoi0a8owZnS14kZ5gwjIcu8Isu7g== X-Received: by 2002:a05:6a02:113:b0:412:a7c0:da8e with SMTP id bg19-20020a056a02011300b00412a7c0da8emr17005590pgb.113.1657973806781; Sat, 16 Jul 2022 05:16:46 -0700 (PDT) MIME-Version: 1.0 From: Zheyu Ma Date: Sat, 16 Jul 2022 20:16:35 +0800 Message-ID: Subject: [BUG] staging: rtl8192u: Found a bug when removing the module To: Greg KH , Dan Carpenter , Tong Zhang Cc: linux-staging@lists.linux.dev, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I found a bug in the rtl8192u module. When removing the module, I got the following warning: [ 20.407360] remove_proc_entry: removing non-empty directory 'net/rtl819xU', leaking at least 'wlan0' [ 20.408609] WARNING: CPU: 4 PID: 451 at fs/proc/generic.c:718 remove_proc_entry+0x2e1/0x3e0 [ 20.412316] RIP: 0010:remove_proc_entry+0x2e1/0x3e0 [ 20.420050] Call Trace: [ 20.421178] rtl8192_usb_module_exit+0x4a/0x63 [r8192u_usb] I think the problem is the misuse of the proc entry, but I'm not familiar with the driver, so I'm reporting the bug to you. regards, Zheyu Ma