Re: [PATCH] fs/cifs: Fix build warnings

2014-07-14 Thread Steve French
I don't see this build warning, and I do see these functions used outside the CONFIG_CIFS_WEAK_PW_HASH - are you using current linux-next (or equivalently cifs-2.6.git for-next branch)There were some updates to fs/cifs late last week. On Mon, Jul 14, 2014 at 5:38 AM, Thierry Reding wrote: > From:

[PATCH] fs/cifs: Fix build warnings

2014-07-14 Thread Thierry Reding
From: Thierry Reding The sess_alloc_buffer(), sess_free_buffer(), sess_establish_session() and sess_sendreceive() functions are only used by sess_auth_lanman(), therefore should be guarded by the same #ifdef to prevent the following compiler warnings: fs/cifs/sess.c:542:1: warning: 'sess