OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1442-g46b897b

Gerrit Code Review gerrit@openafs.org
Sat, 23 Jul 2011 19:54:48 -0700 (PDT)


The following commit has been merged in the master branch:
commit 46b897bbaff9e7ea8ff88766ce2b3e047feeee6b
Author: Ben Kaduk <kaduk@mit.edu>
Date:   Sat Jul 23 14:58:54 2011 -0400

    FBSD: cast lkmnosys appropriately
    
    lkmnosys is a function, and as such has its own prototype which
    includes a named struct specific to it (struct nosys_args).  When
    comparing its address to an entry in the syscall table, we must
    cast it to a sy_call_t to correctly do the comparison, lest gcc
    warn us about comparing distinct pointer types without a cast.
    This warning recently became an error due to bsd.kmod.mk, so it
    causes the build to fail on 8.1 and earlier, which do not use
    syscall_register() due to a conflicting entry for our syscall
    in syscalls.master.
    
    Change-Id: I606aaf73e433a50ea41adaab842d61ee69653bd5
    Reported-by: Garrett Wollman
    Reviewed-on: http://gerrit.openafs.org/5087
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Garrett Wollman <wollman@csail.mit.edu>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository