On Mon, Nov 22, 2021 at 09:47:12AM +0100, Ahmad Fatoum wrote: > Couple of files lack an explicit embedded license or cotnain s/cotnain/contain/ > boilerplate. Replace with the appropriate SPDX-License-Identifier. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > common/efi/devicepath.c | 2 ++ > common/efi/guid.c | 2 ++ > common/efi/payload/image.c | 11 +---------- > common/efi/payload/init.c | 11 +---------- > include/efi/debug_ll.h | 1 + > include/efi/efi-device.h | 1 + > include/efi/efi.h | 1 + > 7 files changed, 9 insertions(+), 20 deletions(-) > > diff --git a/common/efi/devicepath.c b/common/efi/devicepath.c > index f17b9294cc1b..6341ca005ba5 100644 > --- a/common/efi/devicepath.c > +++ b/common/efi/devicepath.c > @@ -1,3 +1,5 @@ > +// SPDX-License-Identifier: GPL-2.0-only > + > #include <common.h> > #include <efi.h> > #include <malloc.h> > diff --git a/common/efi/guid.c b/common/efi/guid.c > index fbe96ecd048c..f1a918f91e19 100644 > --- a/common/efi/guid.c > +++ b/common/efi/guid.c > @@ -1,3 +1,5 @@ > +// SPDX-License-Identifier: GPL-2.0-only > + > #include <common.h> > #include <efi.h> > > diff --git a/common/efi/payload/image.c b/common/efi/payload/image.c > index 3c55a457eae3..53b444eef60f 100644 > --- a/common/efi/payload/image.c > +++ b/common/efi/payload/image.c > @@ -1,17 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * image.c - barebox EFI payload support > * > * Copyright (c) 2014 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License version 2 > - * as published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > */ > > #include <clock.h> > diff --git a/common/efi/payload/init.c b/common/efi/payload/init.c > index 88d0bfa939ec..0e672a6b56d2 100644 > --- a/common/efi/payload/init.c > +++ b/common/efi/payload/init.c > @@ -1,17 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * init.c - barebox EFI payload support > * > * Copyright (c) 2014 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License version 2 > - * as published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > */ > > #include <linux/linkage.h> > diff --git a/include/efi/debug_ll.h b/include/efi/debug_ll.h > index 4ca72de312af..905f1c43cd23 100644 > --- a/include/efi/debug_ll.h > +++ b/include/efi/debug_ll.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __MACH_DEBUG_LL_H__ > #define __MACH_DEBUG_LL_H__ > > diff --git a/include/efi/efi-device.h b/include/efi/efi-device.h > index 5ec59a8a2ddd..cd8a374c32fe 100644 > --- a/include/efi/efi-device.h > +++ b/include/efi/efi-device.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __EFI_EFI_DEVICE_H > #define __EFI_EFI_DEVICE_H > > diff --git a/include/efi/efi.h b/include/efi/efi.h > index 648afb9ec5a7..c7679b4b8f28 100644 > --- a/include/efi/efi.h > +++ b/include/efi/efi.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __MACH_EFI_H > #define __MACH_EFI_H > > -- > 2.30.2 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > > > To declare a filtering error, please use the following link : https://www.security-mail.net/reporter.php?mid=17c3a.619b5a65.16acd.0&r=jmaselbas%40kalray.eu&s=barebox-bounces%2Bjmaselbas%3Dkalray.eu%40lists.infradead.org&o=%5BPATCH+10%2F30%5D+efi%3A+use+SPDX-License-Identifier+where+appropriate&verdict=C&c=b22b249ef71fa4af3fb70743334b7eff7aaf4614 > _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox