]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[CIFS] Rename md5 functions to avoid collision with new rt modules
authorSteve French <sfrench@us.ibm.com>
Mon, 12 Jan 2009 21:03:25 +0000 (21:03 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 29 Jan 2009 03:32:12 +0000 (03:32 +0000)
commit6a7f8d36c00ab7adef5fb633f7805c91e8c1e139
tree9580a3e4fa4ec4f70a5f2a68b2a3d7ab52592ae8
parent0496e02d8791e7f06673a19a181be30dad6eff70
[CIFS] Rename md5 functions to avoid collision with new rt modules

When rt modules were added they (each) included their own md5
with names which collided with the existing names of cifs's md5 functions.

Renaming cifs's md5 modules so we don't collide with them.

> Stephen Rothwell wrote:
> When CIFS is built-in (=y) and staging/rt28[67]0 =y, there are multiple
> definitions of:
>
> build-r8250.out:(.text+0x1d8ad0): multiple definition of `MD5Init'
> build-r8250.out:(.text+0x1dbb30): multiple definition of `MD5Update'
> build-r8250.out:(.text+0x1db9b0): multiple definition of `MD5Final'
>
> all of which need to have more unique identifiers for their global
> symbols (e.g., rt28_md5_init, cifs_md5_init, foo, blah, bar).
>

CC: Greg K-H <gregkh@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsencrypt.c
fs/cifs/md5.c
fs/cifs/md5.h