Re: [PATCH] usb/serial/generic: Fix compile error

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

 



Hi Javier,

On Sun, Apr 11, 2010 at 11:29:02AM -0400, Javier Martinez Canillas wrote:
> usb/serial/generic.c gives me a compile error when CONFIG_MAGIC_SYSRQ is
> not defined.
> 
> The problem is that usb_serial_handle_sysrq_char() calls handle_sysrq()
> that only is defined if CONFIG_MAGIC_SYSRQ is defined.
> 
> This patch add an empty handle_sysrq inline function if
> CONFIG_MAGIC_SYSRQ is not defined and generic.c compiles cleanly.
> 

Thanks for the patch. I will fold it into the one where I managed to
loose the static inline if you do not mind.

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

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux