Re: [PATCH] usb: common: otg-fsm: add license to usb-otg-fsm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 13, 2016 at 06:56:30PM +0200, Oscar wrote:
> 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 will hang. Tested with a udoo quad board.
> 
> Signed-off-by: Oscar Curero <oscar@xxxxxxxxxxxx>
> ---
>  drivers/usb/common/usb-otg-fsm.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/usb/common/usb-otg-fsm.c
> b/drivers/usb/common/usb-otg-fsm.c
> index 9059b7d..2f537bb 100644
> --- a/drivers/usb/common/usb-otg-fsm.c
> +++ b/drivers/usb/common/usb-otg-fsm.c
> @@ -21,6 +21,7 @@
>   * 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
> 
> +#include <linux/module.h>
>  #include <linux/kernel.h>
>  #include <linux/types.h>
>  #include <linux/mutex.h>
> @@ -450,3 +451,4 @@ int otg_statemachine(struct otg_fsm *fsm)
>         return fsm->state_changed;
>  }
>  EXPORT_SYMBOL_GPL(otg_statemachine);
> +MODULE_LICENSE("GPL");
> --

I don't know why I can't apply your patch, does it make on
an very old version?

I apply it manually, thanks.

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux