drbd build fix in case CONFIG_CRYPTO_HMAC is not set
Subsystems (2)
Philipp Reisner
maintainerThe following changes since commit d88c3ab963d4cce09b25ef661b871bd7af6dad0d:
drbd: only fail empty flushes if no good data is reachable (2013-01-30 10:40:33 +0100)
are available in the git repository at:
git://git.drbd.org/linux-drbd.git for-jens-3.8-fix
for you to fetch changes up to 78aa7987a223e8542f2735dace439690c6171ac5:
drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set (2013-02-04 18:14:03 +0100)
----------------------------------------------------------------
Philipp Reisner (1):
drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set
drivers/block/drbd/drbd_receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/block/drbd/drbd_receiver.c +2 -2
@@ -4659,8 +4659,8 @@ static int drbd_do_features(struct drbd_tconn *tconn)#if !defined(CONFIG_CRYPTO_HMAC ) && !defined(CONFIG_CRYPTO_HMAC_MODULE )static int drbd_do_auth (struct drbd_tconn *tconn) { -dev_err (DEV ,"This kernel was build without CONFIG_CRYPTO_HMAC.\n" ); -dev_err (DEV ,"You need to disable 'cram-hmac-alg' in drbd.conf.\n" ); +conn_err (tconn,"This kernel was build without CONFIG_CRYPTO_HMAC.\n" ); +conn_err (tconn,"You need to disable 'cram-hmac-alg' in drbd.conf.\n" );return -1 ; }#else
Jens Axboe
maintainerQuoted 11 lines · Philipp Reisner
The following changes since commit
d88c3ab963d4cce09b25ef661b871bd7af6dad0d:drbd: only fail empty flushes if no good data is reachable (2013-01-30 10:40:33 +0100)
are available in the git repository at:
git://git.drbd.org/linux-drbd.gitfor-jens-3.8-fixfor you to fetch changes up to
78aa7987a223e8542f2735dace439690c6171ac5:drbd: Fix build error when
CONFIG_CRYPTO_HMACis not set (2013-02-04 18:14:03 +0100)
NOT pulled. Base the branch off my for-linus. When I pull the below into that, I don't get a small patch, I get all changes from 3.7 to 3.8-rc5.
Signature · 1 line
Jens Axboe
Philipp Reisner
maintainerQuoted 2 lines
NOT pulled. Base the branch off my for-linus. When I pull the below into that, I don't get a small patch, I get all changes from 3.7 to 3.8-rc5.
Ok, now based on your for-linus.
The following changes since commit 1383923d1985cef2bceb8128094fbe5e05de7435:
Merge branch 'for-jens' of git://git.drbd.org/linux-drbd into for-linus (2013-01-22 08:22:11 -0700)
are available in the git repository at:
git://git.drbd.org/linux-drbd.git for-jens-3.8-fix
for you to fetch changes up to 23c275cba16615ac8cd3815cb1a86fd64cf12aa6:
drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set (2013-02-05 15:58:34 +0100)
----------------------------------------------------------------
Philipp Reisner (1):
drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set
drivers/block/drbd/drbd_receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/block/drbd/drbd_receiver.c +2 -2
@@ -4659,8 +4659,8 @@ static int drbd_do_features(struct drbd_tconn *tconn)#if !defined(CONFIG_CRYPTO_HMAC ) && !defined(CONFIG_CRYPTO_HMAC_MODULE )static int drbd_do_auth (struct drbd_tconn *tconn) { -dev_err (DEV ,"This kernel was build without CONFIG_CRYPTO_HMAC.\n" ); -dev_err (DEV ,"You need to disable 'cram-hmac-alg' in drbd.conf.\n" ); +conn_err (tconn,"This kernel was build without CONFIG_CRYPTO_HMAC.\n" ); +conn_err (tconn,"You need to disable 'cram-hmac-alg' in drbd.conf.\n" );return -1 ; }#else