On Tue, 2017-06-13 at 09:33 -0700, Bart Van Assche wrote: > Because macros like __x86_64__ are not defined by the C standard > and because it is easy to convert the int2ptr() macro into > standard C, use (void*)(uintptr_t) instead of int2ptr(). Inline > this macro because it only has one user. This patch does not > change any functionality. > > Reported-by: Xose Vazquez Perez <[email protected]> > Signed-off-by: Bart Van Assche <[email protected]> > Cc: Xose Vazquez Perez <[email protected]> > --- > kpartx/lopart.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > Reviewed-by: Martin Wilck <[email protected]>
-- Dr. Martin Wilck <[email protected]>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
