[PATCH] fix gcc4 warning in asm-ppc/time.h

Andrew Morton akpm at osdl.org
Thu Aug 4 15:17:15 EST 2005


Christoph Hellwig <hch at lst.de> wrote:
>
>  A function must not return a const value, instead use
>  __attribute_const__.
> 
> 
>  Index: linux-2.6/include/asm/time.h
>  ===================================================================
>  --- linux-2.6.orig/include/asm/time.h	2005-04-30 10:17:19.000000000 +0200
>  +++ linux-2.6/include/asm/time.h	2005-08-01 11:57:12.000000000 +0200

asm-ppc, please.  That didn't apply very well on an x86 tree...




More information about the Linuxppc-dev mailing list