Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5229553ybh; Wed, 7 Aug 2019 02:54:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwQp+/G8duhSdOG/TnChCDJmUi3RV1DV+jsxL5viuOszHRb6PdwQ5YqCxb2wDA09U421Ys X-Received: by 2002:a17:90a:208d:: with SMTP id f13mr7311820pjg.68.1565171650108; Wed, 07 Aug 2019 02:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565171650; cv=none; d=google.com; s=arc-20160816; b=Z1nja/slUQVJ5gczooyrylHkYJoPosYNM9crSD+KSdrzjlbFIvq+AwZwoemd8Juot+ 7W/IMvd6wmwEEYZbeSNpn5iDsfBhgDwC8+uTXQb20t+G5Pn7RyZ7/V+f7M99JDqpfbu4 TxPXI0S/rEwApWgHmDlAYl1eeOrczhGye2hT7Y/S/Qc+BJk9x54h6svldwefH+LEVlnY Wh4V8VEs5Ng95UN+/FzSohDKFl713Ss/fOlpATpoMIHsz2DgKd0n3uNG1n0g7pYgnHdL RbZ05yaggpIMNGmIXE/VLLzH0c5nEtSwSGrQsU4ol9cthEuTUkfqzVdyMVMAhYHAOKDt vSjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=CMxxaYMNhsVkHAwjLsRQ+Va5Bl8WBpCpGQ5RJ5DRFdc=; b=VP2Ead/QS7ZEsHxvW0qREec6//JXDRC8lCyQ0s8hUATwxb2y9MBJEmcDufwodXxyYN AMJa4HTX/FpAPNaSHlS2IS36ozDsWyJiX8wtWHO8AuGS/g7a39KrTsYQ6rT2zWcFWXnK ocj9T4zCN4LM/f43jqAC85ovqgJaSe/fnLIkQEuQjGDhXF03/pxQz27XgqiuUaI+tuWr MZjIfBgyrBJkQyKH9CFppr3yY+WZLka/VNMDAaeF3rUuTpNzaH2A2GdlJuaOWlw7H28f laPvUVXB8tM8E/EXKdRFh1Bcf2zM4nSByuYAOGxGeMnQAuPY/9pi/xfOuU/8IWxX5VU1 AlDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 28si804976pgk.331.2019.08.07.02.53.49; Wed, 07 Aug 2019 02:54:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727016AbfHGJxS (ORCPT + 99 others); Wed, 7 Aug 2019 05:53:18 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:33685 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbfHGJxS (ORCPT ); Wed, 7 Aug 2019 05:53:18 -0400 Received: by mail-ot1-f66.google.com with SMTP id q20so101773281otl.0 for ; Wed, 07 Aug 2019 02:53:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CMxxaYMNhsVkHAwjLsRQ+Va5Bl8WBpCpGQ5RJ5DRFdc=; b=nVNn14aeBsr84P8VlBygCnRDd9tbiq8xDn3GcnpEPdlpVTjoRHAsqxFJLGmZG4H9eV RdDdG8AAQlVimQZk8ir0YKK1Oi4bjcSxWRl+VfziHCmFAQ1X/dPJPCuTdCcTqZV4pQ0S Jv5I7URx56zYVgF4jewHxFERQ94pN3Aw9r+E1pgBUDbYnCvw0yodGf/9KHE2/bw74oy2 Sr5DzfwiRd99jVL5WU/uPujmvya00Q/tHFl8T3VSzzfDZTVrlGalaIiVcH+0xok1Xtia x5GQXWA6IdrwQACtHAnx/AJdfLAfRlj+aBQm1DUvduFjK2YLBU4B3YuAuFZwQUuQaJHh c7fA== X-Gm-Message-State: APjAAAXVWr7Hk4Nv+xcpDOLZjUqCRtjr6GZgfj8OWy7vfXUWgoMaedr8 lPrv0KDOBYGZsfDP/bJ2IEZWtXSby5onJ/2lpoePmg== X-Received: by 2002:a5d:885a:: with SMTP id t26mr7859669ios.218.1565171597543; Wed, 07 Aug 2019 02:53:17 -0700 (PDT) MIME-Version: 1.0 References: <527fdc4e453cbc1408500625c0080d9c59d9e1dd.1565112514.git.lorenzo@kernel.org> In-Reply-To: From: Lorenzo Bianconi Date: Wed, 7 Aug 2019 11:53:05 +0200 Message-ID: Subject: Re: [PATCH] mt76: move mt76_tx_tasklet in mt76 module To: Felix Fietkau Cc: Lorenzo Bianconi , linux-wireless , Ryder Lee , Roy Luo Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > > On 2019-08-06 19:31, Lorenzo Bianconi wrote: > > Move mt76{15,03}_tx_tasklet in mt76 module since it is shared between > > mt7615 and mt7603 drivers > > > > Signed-off-by: Lorenzo Bianconi > I think it would be nice to get rid of the EXPORT_SYMBOL_GPL for > mt76_tx_tasklet by moving the tasklet_init call to mt76_alloc_device(). > > That way, dev->mt76.tx_tasklet will be set to mt76_tx_tasklet by > default, but automatically overwritten for drivers that have custom > implementations (76x02 / usb). > > - Felix ack, I agree. I will fix it in v2. Thanks. Regards, Lorenzo