]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
alpha: uapi: Add support for __SANE_USERSPACE_TYPES__
authorBen Hutchings <ben@decadent.org.uk>
Thu, 1 Oct 2015 00:35:55 +0000 (01:35 +0100)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 19:02:00 +0000 (12:02 -0700)
commitcec80d82142ab25c71eee24b529cfeaf17c43062
tree946a832013951fa7f8d4e1c935d720ea43974a71
parent7817cedce04325bed7b618386a245fb461233746
alpha: uapi: Add support for __SANE_USERSPACE_TYPES__

This fixes compiler errors in perf such as:

tests/attr.c: In function 'store_event':
tests/attr.c:66:27: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64 {aka long unsigned int}' [-Werror=format=]
  snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir,
                           ^

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Michael Cree <mcree@orcon.net.nz>
Cc: stable@vger.kernel.org
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/types.h
arch/alpha/include/uapi/asm/types.h