OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-190-ge7678fb

2018-08-14 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit e7678fb5fb6725055b576b86f6ef994594f0bb92
Author: Michael Meffie 
Date:   Thu Mar 29 23:15:47 2018 -0400

afs: fix missing afs_nfs3_dispatcher return value

Fix a missing early return value in the function afs_nfs3_dispatcher.  All
callers check the return code of afs_nfs3_dispatcher and interpret values
greater that 1 to be errors. Return 3 as an error code for this code path,
which is the next available error code in afs_nfs3_dispatcher.

This commit fixes the following Solaris Studio warning message:

... warning: function expects to return value: afs_nfs3_dispatcher

Change-Id: I47b545bd57a46c03006b9f031da3647c8a530377
Reviewed-on: https://gerrit.openafs.org/12987
Reviewed-by: Andrew Deason 
Reviewed-by: Benjamin Kaduk 
Reviewed-by: Michael Meffie 
Tested-by: BuildBot 

 src/afs/afs_nfsdisp.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs


OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-190-ge7678fb

2018-08-14 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit 388eaec3452ed4b18a95ee34efcbe4cf64814701
Author: Michael Meffie 
Date:   Thu Mar 15 18:53:59 2018 -0400

roken: do not clobber __attribute__

The roken-common.h header defines an empty macro called __attribute__
when HAVE___ATTRIBUTE__ is not defined. This macro conditionally removes
the `format' function attributes in the roken headers at compile time.
Unfortunately, the empty __attribute__ macro will also clobber other
attribute types encountered after the roken.h header inclusion.

This is not an issue when building under gcc or clang, since the empty
attribute macro will not be defined. However Solaris Studio supports a
subset of the function attribute types, with `format' not currently
supported. This means roken will define an empty __attribute__ macro,
which prevents the use of other attribute types.

This commit does not change the roken files directly because they are
external.  Instead, the processing of the roken.h.in file has been
updated to undefine the __attribute__ macro at the end of the generated
roken.h header.

Change-Id: Iea5622ae175e7f82a60780838948178bd7f8b56f
Reviewed-on: https://gerrit.openafs.org/12961
Reviewed-by: Andrew Deason 
Reviewed-by: Benjamin Kaduk 
Tested-by: BuildBot 

 src/roken/Makefile.in  |7 +--
 src/roken/roken-post.h |8 
 2 files changed, 13 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs


OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-195-gb7e9a9b

2018-08-14 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit b7e9a9b28aaa024b6d6efc6ca74edc690500fc0d
Author: Michael Meffie 
Date:   Tue Apr 10 18:29:44 2018 -0400

lwp: add missing lwp prototypes for solaris

Add missing lwp function prototypes for Solaris. This fixes the compile time
warning messages:

  warning: implicit function declaration: LWP_NoYieldSignal

Change-Id: I69c3660bb2631215cd296c08729c8e84d60660fd
Reviewed-on: https://gerrit.openafs.org/13008
Reviewed-by: Benjamin Kaduk 
Reviewed-by: Michael Meffie 
Tested-by: BuildBot 

 src/lwp/lwp.h |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs