Wine has annotated the Win32 alloc functions with the alloc_size attribute. This cuts down the noise a lot when running sparse on the Wine source code. Signed-off-by: Michael Stefaniuc <mstefaniuc@xxxxxxxxx> --- Resend for the chrisl tree. parse.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/parse.c b/parse.c index fa3b45e..c3f9b6a 100644 --- a/parse.c +++ b/parse.c @@ -475,6 +475,8 @@ static struct init_keyword { const char *ignored_attributes[] = { "alias", "__alias__", + "alloc_size", + "__alloc_size__", "always_inline", "__always_inline__", "bounded", -- 1.6.5.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html