Re: [PATCH ver2] tgt: Fix eprintf warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 02 Mar 2009 17:53:30 +0200
Boaz Harrosh <bharrosh@xxxxxxxxxxx> 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@xxxxxxxxxxx>

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

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux