From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:38658 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbdF0LDD (ORCPT ); Tue, 27 Jun 2017 07:03:03 -0400 Date: Tue, 27 Jun 2017 13:03:03 +0200 From: Greg KH To: Amit Pundir Cc: Stable , Stanislaw Gruszka , Vishal Thanki , Kalle Valo Subject: Re: [PATCH for-4.9 3/7] rt2x00: avoid introducing a USB dependency in the rt2x00lib module Message-ID: <20170627110303.GC10609@kroah.com> References: <1498464091-26753-1-git-send-email-amit.pundir@linaro.org> <1498464091-26753-4-git-send-email-amit.pundir@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1498464091-26753-4-git-send-email-amit.pundir@linaro.org> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jun 26, 2017 at 01:31:27PM +0530, Amit Pundir wrote: > From: Stanislaw Gruszka > > commit 6232c17438ed01f43665197db5a98a4a4f77ef47 upstream. > > As reported by Felix: > > Though protected by an ifdef, introducing an usb symbol dependency in > the rt2x00lib module is a major inconvenience for distributions that > package kernel modules split into individual packages. > > Get rid of this unnecessary dependency by calling the usb related > function from a more suitable place. > > Cc: Vishal Thanki > Reported-by: Felix Fietkau > Fixes: 8b4c0009313f ("rt2x00usb: Use usb anchor to manage URB") > Signed-off-by: Stanislaw Gruszka > Signed-off-by: Kalle Valo > Signed-off-by: Amit Pundir > --- > drivers/net/wireless/ralink/rt2x00/rt2x00dev.c | 23 ++++++++--------------- > drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | 5 +++++ > 2 files changed, 13 insertions(+), 15 deletions(-) I keep skipping this patch, but people keep submitting it, so I might as well give in and take it this time :) thanks, greg k-h