lkml.org 
[lkml]   [2003]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [2.6 patch] fix nfs4xdr.c compile warning
On Tuesday September 9, bunk@fs.tum.de wrote:
> CC fs/nfsd/nfs4xdr.o
> fs/nfsd/nfs4xdr.c: In function `nfsd4_encode_open':
> fs/nfsd/nfs4xdr.c:1773: warning: `return' with a value, in function returning void
> ...
>
> <-- snip -->
>
>
> The following patch tries to fix it:

Thanks, though I've actually taken a different patch by Stephen Hemminger <shemminger@osdl.org>.
>
> BTW:
> Shouldn't the return values of nfsd4_encode_open{,_confirm,_downgrade}
> be checked in the switch in nfsd4_encode_operation?

No. There is nothing meaningful in their return values.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.238 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site