The following commit has been merged in the openafs-stable-1_6_x branch:
commit 049f8eb27989a289a93a9bc109226035a20c29c2
Author: Andrew Deason <[email protected]>
Date: Mon Sep 24 13:03:34 2012 -0500
LINUX: Define printf/uprintf as variadic macros
Instead of defining the string 'printf' itself, make printf (and
uprintf) variadic macros. This avoids renaming printf to printk for
things like '__attribute__((format(printf,X,Y)))'.
Note that this is Linux-specific; compilers on other platforms may not
support variadic macros.
This avoids many warnings in the Linux kernel module build if we
include Linux headers after AFS headers.
Reviewed-on: http://gerrit.openafs.org/8150
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Marc Dionne <[email protected]>
Tested-by: BuildBot <[email protected]>
(cherry picked from commit 179096d9b2c461f02236bbf670b46597ff2d4c3c)
Change-Id: I5c1c80cb5bd6996b0329969e16f9359fa1dcbc91
Reviewed-on: https://gerrit.openafs.org/12365
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/afs/LINUX/osi_machdep.h | 4 ++--
src/rx/rx_kernel.h | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs