[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081025144502.GA2050@linux-mips.org>
Date: Sat, 25 Oct 2008 15:45:02 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: Dmitri Vorobiev <dmitri.vorobiev@...ial.fi>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [MIPS] sgi_btns: add license specification
On Sat, Oct 25, 2008 at 01:46:57AM +0300, Dmitri Vorobiev wrote:
> The SGI Volume Button interface driver uses GPL-only symbols
> platform_driver_unregister and platform_driver_register, but
> lacks license specification. Thus, when compiled as a module,
> this driver cannot be installed. This patch fixes this by
> adding the MODULE_LICENSE() specification.
>
> Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@...ial.fi>
Patch is correct - but it stumped my nose at another bug.
A platform driver is supposed to be safe if loaded into a kernel for another
machine. With the #ifdef'ed sections of this driver, a crash would be
likely if the module built for IP22 would be loaded into an IP32 kernel or
vice versa.
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists