OpenAFS Master Repository branch, master, updated. b4783c245d233a0883a29241351869d616a9f6a4
Gerrit Code Review
gerrit@openafs.org
Sat, 18 Jul 2009 17:37:07 -0700 (PDT)
The following commit has been merged in the master branch:
commit b4783c245d233a0883a29241351869d616a9f6a4
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Jul 18 00:15:01 2009 -0400
Warning cleanups for kernel module build
Take care of various warnings (about 70) during a libafs build.
A non-exhaustive list of changes:
- Unused variables, in some cases to be IFDEFed along with the code
that uses it
- Cast some const char * to char * for the afs_* functions
- Move afs_UFSCacheFetchProc and afs_UFSCacheStoreProc declarations
to afs_prototypes.h
- Include afsutil.h in error_msg.c to get strlcpy
- Change type of argument 3 in export_sysname, to match what the callers
are actually doing
- Rework a few lines in pthread_glock.c to avoid a warning about unused
value
- Fix a warning in rpc_scan.c that really looks like a bug (but
probably harmless in our case)
Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/151
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
src/afs/LINUX/osi_file.c | 3 ++-
src/afs/LINUX/osi_misc.c | 9 +++++----
src/afs/LINUX/osi_vnodeops.c | 35 ++++++++++++++++++++---------------
src/afs/afs_dcache.c | 11 -----------
src/afs/afs_osi_pag.c | 2 +-
src/afs/afs_pag_call.c | 2 +-
src/afs/afs_pag_cred.c | 2 +-
src/afs/afs_prototypes.h | 11 +++++++++++
src/afs/afs_vcache.c | 6 +++---
src/afs/afs_warn.c | 4 +++-
src/afs/exporter.h | 2 +-
src/comerr/error_msg.c | 1 +
src/des/read_pssword.c | 2 +-
src/dir/dir.c | 1 +
src/rx/LINUX/rx_knet.c | 10 +++++++---
src/rxgen/rpc_parse.c | 1 +
src/rxgen/rpc_scan.c | 2 +-
src/util/pthread_glock.c | 6 ++++--
18 files changed, 64 insertions(+), 46 deletions(-)
--
OpenAFS Master Repository