mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch, -git] usb: build fix
@ 2008-04-30 17:47 Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2008-04-30 17:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Kroah-Hartman

this config:

  http://redhat.com/~mingo/misc/config-Wed_Apr_30_15_12_48_CEST_2008.bad

fails to build due to an #error. Turn that into a #warning instead to 
not break randconfig builds unnecessarily.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 drivers/net/usb/cdc_subset.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/net/usb/cdc_subset.c
===================================================================
--- linux.orig/drivers/net/usb/cdc_subset.c
+++ linux/drivers/net/usb/cdc_subset.c
@@ -218,7 +218,7 @@ static const struct driver_info	blob_inf
 /*-------------------------------------------------------------------------*/
 
 #ifndef	HAVE_HARDWARE
-#error You need to configure some hardware for this driver
+#warning You need to configure some hardware for this driver
 #endif
 
 /*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-30 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 17:47 [patch, -git] usb: build fix Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®