Re: [RESEND PATCH v2 09/18] lib: sscanf: add sscanf implementation

Hi Andy
AFAIK Modified BSD (3-clause) is compatible with GPL according to FSF [1] so that you can release product under GPL with integrated BSD code.
[1] https://www.gnu.org/licenses/license-list.en.html#ModifiedBSD
Best regards, -- Artem Mygaiev
On Sun, 16 Aug 2020 11:23:44 +0300 Andy Shevchenko andy.shevchenko@gmail.com wrote:
On Thu, Aug 6, 2020 at 12:45 PM Anastasiia Lukianenko vicooodin@gmail.com wrote:
+++ b/lib/sscanf.c @@ -0,0 +1,823 @@ +// SPDX-License-Identifier: BSD-3-Clause
Hmm... Tom, can you point out to the possibility of using this code in U-Boot? Can we call it from the GPL only code or can it call GPL code (is malloc() GPL? Or what all these #include <linux/*.h> are doing there?

On Mon, Aug 17, 2020 at 12:12:13PM +0000, Artem Mygaiev wrote:
Hi Andy
AFAIK Modified BSD (3-clause) is compatible with GPL according to FSF [1] so that you can release product under GPL with integrated BSD code.
[1] https://www.gnu.org/licenses/license-list.en.html#ModifiedBSD
Right. This is not our first BSD-3-Clause bit of code (and there's even a handful of pieces in the Linux kernel).
participants (2)
-
Artem Mygaiev
-
Tom Rini