[PATCH] powerpc: non-GPL export for eeh_dev_check_failure
One Thousand Gnomes
gnomes at lxorguk.ukuu.org.uk
Wed Aug 6 00:51:40 EST 2014
On Tue, 05 Aug 2014 20:12:09 +0530
Vishal Mansur <vmansur at linux.vnet.ibm.com> wrote:
> EEH kernel services are inconsistently exported by the
> kernel. eeh_check_failure is exported for any use, but
> eeh_dev_check_failure is exported only for GPL use.
> While eeh_check_failure is implemented for a specific
> purpose to be used by services such as readl, it is
> not suited for a purpose where caller needs eeh status.
> This functionality is provided by eeh_dev_check_failure.
>
> This patch relaxes the export for eeh_dev_check_failure
> to make it consistent with eeh_check_failure() and
> usable by non-GPL modules.
The GPL covers all derivative works. Tweaking this doesn't magically
allow you to use the feature in non GPL code. Your legal department can I
am sure explain in detail further.
Alan
More information about the Linuxppc-dev
mailing list