From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965224AbcFMH64 (ORCPT ); Mon, 13 Jun 2016 03:58:56 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34398 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965205AbcFMH6x (ORCPT ); Mon, 13 Jun 2016 03:58:53 -0400 Date: Mon, 13 Jun 2016 15:52:47 +0800 From: Peter Chen To: Oscar Cc: Peter.Chen@nxp.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: usb: common: otg-fsm: add license to usb-otg-fsm Message-ID: <20160613075247.GD19728@shlinux2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 12, 2016 at 01:06:45PM +0200, Oscar wrote: > usb: common: otg-fsm: add license to usb-otg-fsm. > > Fix warning about tainted kernel because usb-otg-fsm has no license. > WARNING: with this patch usb-otg-fsm module can be loaded > but then the kernel hangs. Tested with a udoo quad board. > > Signed-off-by: Oscar Curero > --- > > --- a/drivers/usb/common/usb-otg-fsm.c.orig 2016-06-12 > 12:02:09.269814317 +0200 > +++ b/drivers/usb/common/usb-otg-fsm.c 2016-06-12 > 12:01:54.473000410 +0200 > @@ -21,6 +21,7 @@ > * 675 Mass Ave, Cambridge, MA 02139, USA. > */ > > +#include > #include > #include > #include > @@ -452,3 +453,4 @@ int otg_statemachine(struct otg_fsm *fsm > return state_changed; > } > EXPORT_SYMBOL_GPL(otg_statemachine); > +MODULE_LICENSE("GPL"); > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Good catch, but would you please create the patch using "git format-patch", I can't apply it directly. -- Best Regards, Peter Chen