[PATCH v8 07/10] lib: add basic KUnit test for lib/math
Daniel Latypov
dlatypov at google.com
Fri May 17 20:53:47 UTC 2024
On Fri, May 17, 2024 at 1:14 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> > [devarsht: Rebase to 6.9 and change license to GPL]
>
> I'm not sure that you may change license. It needs the author's confirmation.
Checking, this is referring to the MODULE_LICENSE, which used to be
MODULE_LICENSE("GPL v2");
and is now
MODULE_LICENSE("GPL");
If checkpatch is suggesting that now, then changing it sounds good to me.
>
> > ---
> > Changes since v6:
> > * Rebase to linux-next, change license to GPL as suggested by checkpatch.
>
> Note, checkpatch.pl is not false positives free. Be careful
> with what it suggests.
>
> > +#include <kunit/test.h>
> > +#include <linux/gcd.h>
>
> > +#include <linux/kernel.h>
>
> Do you know why this header is included?
I think I had put it in the original before a lot of the work you did
to split things out of kernel.h.
I haven't had time to look apply this patch series locally yet, but
I'd be pretty sure we can remove it without anything breaking.
Thanks,
Daniel
More information about the dri-devel
mailing list