[GIT PULL 2/3] Kbuild misc updates for v4.16

From: Masahiro Yamada
Date: Thu Feb 01 2018 - 11:59:33 EST


Hi Linus,

Here are some updates of misc scripts for v4.16. Please pull!



The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215:

Linux 4.15-rc2 (2017-12-03 11:01:47 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-misc-v4.16

for you to fetch changes up to 1640eea35e8dcf0cb437f03c56868a97d0666df3:

Coccinelle: coccicheck: fix typo (2018-02-02 00:21:47 +0900)

----------------------------------------------------------------
Kbuild misc updates for v4.16

- Add snap-pkg target to create Linux kernel snap package

- Make out-of-tree creation of source packages fail correctly

- Improve and fix several semantic patches

----------------------------------------------------------------
Himanshu Jha (4):
Coccinelle: kzalloc-simple: Add all zero allocating functions
Coccinelle: alloc_cast: Add more memory allocating functions to the list
Coccinelle: ifnullfree: Trim the warning reported in report mode
Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple

Julia Lawall (2):
Coccinelle: memdup: drop spurious line
Coccinelle: coccicheck: fix typo

JÃrÃmy Lefaure (1):
Coccinelle: array_size: report even if include is missing

Masahiro Yamada (1):
kbuild: pkg: make out-of-tree rpm/deb-pkg build immediately fail

Paolo Pisati (1):
scripts/package: snap-pkg target

.gitignore | 5 +
scripts/coccicheck | 2 +-
scripts/coccinelle/api/alloc/alloc_cast.cocci | 92 +++-
.../coccinelle/api/alloc/kzalloc-simple.cocci | 86 ----
.../coccinelle/api/alloc/zalloc-simple.cocci | 448 +++++++++++++++++++
scripts/coccinelle/api/memdup.cocci | 1 -
scripts/coccinelle/free/ifnullfree.cocci | 2 +-
scripts/coccinelle/misc/array_size.cocci | 4 +-
scripts/package/Makefile | 26 +-
scripts/package/snapcraft.template | 14 +
10 files changed, 565 insertions(+), 115 deletions(-)
delete mode 100644 scripts/coccinelle/api/alloc/kzalloc-simple.cocci
create mode 100644 scripts/coccinelle/api/alloc/zalloc-simple.cocci
create mode 100644 scripts/package/snapcraft.template


--
Best Regards
Masahiro Yamada