[OpenAFS] openafs 1.4.1 does not compile on several Linux 2.6
kernels despite patches to osi_probe.c
Derek Atkins
warlord@MIT.EDU
Thu, 27 Apr 2006 10:27:36 -0400
I suspect this patch will fail on 64-bit systems. There's another
patch that I sent out last week that should work -- it's also
in the RHEL4 SRPM.
-derek
Quoting Rainer Toebbicke <rtb@pclella.cern.ch>:
> Even after applying patches to osi_probe.c openafs 1.4.1 did not
> compile on Linux 2.6.9-34 kernels (and others).
>
> The reason: a NULL is passed to the module_param_array macro which
> then attempts to take the address of that NULL.
>
> The attached patch defines a correctly typed static zero and passes
> that one instead.
>
>
> (Bcc'ed to openafs-bugs)
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Rainer Toebbicke
> European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
> Phone: +41 22 767 8985 Fax: +41 22 767 7155
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available