Re: [RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.

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

 



On Wed, Sep 12, 2012 at 04:21:56PM -0700, clinew@xxxxxxxxxxxxxxxxxx wrote:
> Defining __KERNEL__ before the file <asm/types.h>, or any file that
> includes this file, will let PPC64 know to use unsigned long long
> for u64 instead. This patch adds the defines and fixes the print
> warnings on PPC64.

Defining __KERNEL__ in random places does not seem clean, I understand
it in kerncompat.h which should transparently fix any compatibility
issues, and the files like cmd-receive.c should include this instead of
the explicit defines.


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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux