From: Timothy Manning Date: Fri, 22 Oct 2010 04:18:24 +0000 (+1300) Subject: yaffs Normalise copyright headers X-Git-Tag: linux-mainline-rc-01~4 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=a34826e701dd381a293bb90b25a48d2bd58e8de8 yaffs Normalise copyright headers Some of the headers were not the right format. Signed-off-by: Timothy Manning --- diff --git a/direct/basic-test/ynorsim.c b/direct/basic-test/ynorsim.c index 17fedb7..ab72d28 100644 --- a/direct/basic-test/ynorsim.c +++ b/direct/basic-test/ynorsim.c @@ -1,4 +1,15 @@ - +/* + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * 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. + */ #include "ynorsim.h" diff --git a/direct/basic-test/ynorsim.h b/direct/basic-test/ynorsim.h index d7ec44f..e0e92b1 100644 --- a/direct/basic-test/ynorsim.h +++ b/direct/basic-test/ynorsim.h @@ -1,3 +1,17 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ #ifndef __Y_NORSIM_H__ #define __Y_NORSIM_H__ diff --git a/direct/basic-test/yramsim.c b/direct/basic-test/yramsim.c index 0a50fcf..74d5f73 100644 --- a/direct/basic-test/yramsim.c +++ b/direct/basic-test/yramsim.c @@ -1,4 +1,19 @@ -// NAND Simulator for testing YAFFS +/* + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * 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. + */ + +/* + * NAND Simulator for testing YAFFS + */ #include diff --git a/direct/python/examples.py b/direct/python/examples.py index 0f42c17..155e770 100644 --- a/direct/python/examples.py +++ b/direct/python/examples.py @@ -1,3 +1,17 @@ +## +## YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +## +## Copyright (C) 2002-2010 Aleph One Ltd. +## for Toby Churchill Ltd and Brightstar Engineering +## +## Created by Charles Manning +## +## 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. +## + + from yaffsfs import * def yaffs_ls(dname): diff --git a/direct/python/yaffs_browser.py b/direct/python/yaffs_browser.py index 22073e6..effe5a3 100755 --- a/direct/python/yaffs_browser.py +++ b/direct/python/yaffs_browser.py @@ -1,4 +1,17 @@ #!/usr/bin/python +## +## YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +## +## Copyright (C) 2002-2010 Aleph One Ltd. +## for Toby Churchill Ltd and Brightstar Engineering +## +## Created by Timothy Manning +## +## 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. +## + import Tkinter as tk from yaffsfs import * #import examples diff --git a/direct/python/yaffs_importer.py b/direct/python/yaffs_importer.py index 84760a6..11180ec 100644 --- a/direct/python/yaffs_importer.py +++ b/direct/python/yaffs_importer.py @@ -1,3 +1,16 @@ +## +## YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +## +## Copyright (C) 2002-2010 Aleph One Ltd. +## for Toby Churchill Ltd and Brightstar Engineering +## +## Created by Timothy Manning +## +## 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. +## + import os from yaffsfs import * import sys diff --git a/direct/python/yaffs_python_helper.c b/direct/python/yaffs_python_helper.c index b7c6047..d5a13d5 100644 --- a/direct/python/yaffs_python_helper.c +++ b/direct/python/yaffs_python_helper.c @@ -1,4 +1,3 @@ - /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * diff --git a/direct/python/yaffsfs.py b/direct/python/yaffsfs.py index 03583fd..28d7097 100644 --- a/direct/python/yaffsfs.py +++ b/direct/python/yaffsfs.py @@ -1,3 +1,16 @@ +## +## YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +## +## Copyright (C) 2002-2010 Aleph One Ltd. +## for Toby Churchill Ltd and Brightstar Engineering +## +## Created by Charles Manning +## +## 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. +## + from ctypes import * cdll.LoadLibrary("./libyaffsfs.so") ylib = CDLL("./libyaffsfs.so") diff --git a/direct/tests/fuzzer.c b/direct/tests/fuzzer.c index 64d307f..2eedbfa 100644 --- a/direct/tests/fuzzer.c +++ b/direct/tests/fuzzer.c @@ -9,7 +9,9 @@ * 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. - * + */ + +/* * Fuzzer to fuzz a file */ diff --git a/direct/tests/nor_stress.h b/direct/tests/nor_stress.h index 7ebef78..69c335d 100644 --- a/direct/tests/nor_stress.h +++ b/direct/tests/nor_stress.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,9 +7,10 @@ * Created by Charles Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __NOR_STRESS_H__ diff --git a/direct/timothy_tests/error_handler.c b/direct/timothy_tests/error_handler.c index 90b3fad..3474d01 100644 --- a/direct/timothy_tests/error_handler.c +++ b/direct/timothy_tests/error_handler.c @@ -9,7 +9,9 @@ * 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. - * + */ + +/* * error_handler.c contains code for checking yaffs function calls for errors. */ #include "error_handler.h" diff --git a/direct/timothy_tests/error_handler.h b/direct/timothy_tests/error_handler.h index c7cc3fd..c07fdff 100644 --- a/direct/timothy_tests/error_handler.h +++ b/direct/timothy_tests/error_handler.h @@ -1,15 +1,16 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * - * Created by Timothy Manning timothy@yaffs.net + * Created by Timothy Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __error_handler_h__ diff --git a/direct/timothy_tests/message_buffer.c b/direct/timothy_tests/message_buffer.c index 58c3038..5a5696e 100644 --- a/direct/timothy_tests/message_buffer.c +++ b/direct/timothy_tests/message_buffer.c @@ -9,7 +9,9 @@ * 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. - * + */ + +/* * message_buffer.c contains code for a message buffer . */ diff --git a/direct/timothy_tests/message_buffer.h b/direct/timothy_tests/message_buffer.h index 33f12dd..eadddb7 100644 --- a/direct/timothy_tests/message_buffer.h +++ b/direct/timothy_tests/message_buffer.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,9 +7,10 @@ * Created by Timothy Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __message_buffer__ diff --git a/direct/timothy_tests/yaffs_tester.c b/direct/timothy_tests/yaffs_tester.c index e8d8671..3cab276 100644 --- a/direct/timothy_tests/yaffs_tester.c +++ b/direct/timothy_tests/yaffs_tester.c @@ -9,7 +9,9 @@ * 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. - * + */ + +/* * yaffs_tester.c designed to stress test yaffs2 direct. */ diff --git a/direct/timothy_tests/yaffs_tester.h b/direct/timothy_tests/yaffs_tester.h index 1584b1a..ad68d29 100644 --- a/direct/timothy_tests/yaffs_tester.h +++ b/direct/timothy_tests/yaffs_tester.h @@ -1,15 +1,16 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * - * Created by Timothy Manning timothy@yaffs.net + * Created by Timothy Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __YAFFS_TESTER_H__ diff --git a/direct/yaffs_nandif.c b/direct/yaffs_nandif.c index 8a8f3fb..34665f4 100644 --- a/direct/yaffs_nandif.c +++ b/direct/yaffs_nandif.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/direct/yaffs_nandif.h b/direct/yaffs_nandif.h index c38834d..b8e3ba0 100644 --- a/direct/yaffs_nandif.h +++ b/direct/yaffs_nandif.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/linux-tests/xattrtest.c b/linux-tests/xattrtest.c index 14df34a..d1e5cf0 100644 --- a/linux-tests/xattrtest.c +++ b/linux-tests/xattrtest.c @@ -1,3 +1,18 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + #include #include #include diff --git a/mtdemul/nandemul2k.c b/mtdemul/nandemul2k.c index a877cbe..862b244 100644 --- a/mtdemul/nandemul2k.c +++ b/mtdemul/nandemul2k.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/patches/yaffs_mtdif2.c b/patches/yaffs_mtdif2.c index 71fb027..c105e45 100644 --- a/patches/yaffs_mtdif2.c +++ b/patches/yaffs_mtdif2.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. * - * Copyright (C) 2002 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/utils/mkyaffs2image.c b/utils/mkyaffs2image.c index df9b044..f54d3be 100644 --- a/utils/mkyaffs2image.c +++ b/utils/mkyaffs2image.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/utils/mkyaffsimage.c b/utils/mkyaffsimage.c index 640d7ec..94b0298 100644 --- a/utils/mkyaffsimage.c +++ b/utils/mkyaffsimage.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning diff --git a/yaffs_allocator.c b/yaffs_allocator.c index c0513d5..47c89b8 100644 --- a/yaffs_allocator.c +++ b/yaffs_allocator.c @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,13 +7,12 @@ * Created by Charles Manning * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 2.1 as + * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. - * - * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ + #include "yaffs_allocator.h" #include "yaffs_guts.h" #include "yaffs_trace.h" diff --git a/yaffs_bitmap.h b/yaffs_bitmap.h index c11ca2f..ea755be 100644 --- a/yaffs_bitmap.h +++ b/yaffs_bitmap.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,8 +7,10 @@ * Created by Charles Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ /* diff --git a/yaffs_guts.c b/yaffs_guts.c index 36e11f5..4200ad5 100644 --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -10,6 +10,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + #include "yportenv.h" #include "yaffs_trace.h" diff --git a/yaffs_linux_allocator.c b/yaffs_linux_allocator.c index f39b9aa..d0837f8 100644 --- a/yaffs_linux_allocator.c +++ b/yaffs_linux_allocator.c @@ -11,7 +11,9 @@ * published by the Free Software Foundation. * * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. - * + */ + +/* * Note: Tis code is currently unused. Being checked in in case it becomes useful. */ diff --git a/yaffs_mtdif1.c b/yaffs_mtdif1.c index ca7b0a3..b6d6713 100644 --- a/yaffs_mtdif1.c +++ b/yaffs_mtdif1.c @@ -1,10 +1,11 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_mtdif1.c NAND mtd interface functions for small-page NAND. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * + * Created by Charles Manning + * * 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. diff --git a/yaffs_nameval.h b/yaffs_nameval.h index 4255f3b..bd80859 100644 --- a/yaffs_nameval.h +++ b/yaffs_nameval.h @@ -12,6 +12,7 @@ * * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ + #ifndef __NAMEVAL_H__ #define __NAMEVAL_H__ diff --git a/yaffs_verify.h b/yaffs_verify.h index 5ec808a..02ef5fe 100644 --- a/yaffs_verify.h +++ b/yaffs_verify.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,8 +7,10 @@ * Created by Charles Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __YAFFS_VERIFY_H__ diff --git a/yaffs_yaffs1.c b/yaffs_yaffs1.c index cc71746..009ab4d 100644 --- a/yaffs_yaffs1.c +++ b/yaffs_yaffs1.c @@ -10,6 +10,7 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + #include "yaffs_yaffs1.h" #include "yportenv.h" #include "yaffs_trace.h" diff --git a/yaffs_yaffs2.h b/yaffs_yaffs2.h index e012aec..ce1fa9d 100644 --- a/yaffs_yaffs2.h +++ b/yaffs_yaffs2.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -7,8 +7,10 @@ * Created by Charles Manning * * 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 + * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */ #ifndef __YAFFS_YAFFS2_H__