Re: usual_tables: module license 'unspecified' taints kernel.

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

 



On Wed, 8 Apr 2009, Alan Jenkins wrote:

> Hi, I see this regression in v2.6.30-rc1.  I end up with a module 
> "usual_tables.ko", which is loaded on boot and causes the kernel to 
> complain about an unspecified license.  See subject for the exact error 
> message.
> 
> I have
> 
> CONFIG_USB_STORAGE=m
> CONFIG_USB_LIBUSUAL=y

This looks like a mistake in the Makefile.  Does the patch below fix
the problem?

Alan Stern


Index: usb-2.6/drivers/usb/storage/Makefile
===================================================================
--- usb-2.6.orig/drivers/usb/storage/Makefile
+++ usb-2.6/drivers/usb/storage/Makefile
@@ -17,7 +17,8 @@ usb-storage-objs :=	scsiglue.o protocol.
 ifeq ($(CONFIG_USB_LIBUSUAL),)
 	usb-storage-objs	+= usual-tables.o
 else
-	obj-$(CONFIG_USB)	+= libusual.o usual-tables.o
+	obj-$(CONFIG_USB)	+= usb-libusual.o
+	usb-libusual-objs	:= libusual.o usual-tables.o
 endif
 
 obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o

--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux