Messages in this thread | | | Subject | convert #include "linux/..." to #include <linux/...> [PATCH]s follow | From | Joe Perches <> | Date | Sun, 19 Aug 2007 15:17:44 -0700 |
| |
There are several files that:
#include "linux/file" not #include <linux/file> #include "asm/file" not #include <asm/file>
Here's a little script that converts them:
egrep -i -r -l --include=*.[ch] \ "^[[:space:]]*\#[[:space:]]*include[[:space:]]*\"(linux|asm)/(.*)\"" * \ | xargs sed -i -e 's/^[[:space:]]*#[[:space:]]*include[[:space:]]*"\(linux\|asm\)\/\(.*\)"/#include <\1\/\2>/g'
Maybe a similar check could be added to checkpatch.pl
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |