[stgt] [PATCH ver2] tgt: Fix eprintf warnings

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Mar 3 06:22:35 CET 2009


On Mon, 02 Mar 2009 17:53:30 +0200
Boaz Harrosh <bharrosh at panasas.com> wrote:

> 
> aligned_u64 was hard-coded "unsigned long long" in tgtif.c this
> breaks compilation on 64bit ARCHES (eg. x86_64). define it to work
> well on all platforms, just like the Kernel does it.
> [This problem is caused by another problem:
>   Including linux/type.h before sys/types.h will not compile, only
>   the reverse order will. But when doing so lots of linux/type.h
>   definitions are ifdefed out, including the definition of
>   aligned_u64. This is why it as to be redefined by tgtif.c.]
> 
> And another place that needed an "%zu"
> 
> Signed-off-by: Boaz Harrosh <bharrosh at panasas.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list