diff options
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index a6d266ee7e2a..dbd451984e0d 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c | |||
@@ -3945,7 +3945,7 @@ static int drbd_do_auth(struct drbd_conf *mdev) | |||
3945 | } | 3945 | } |
3946 | 3946 | ||
3947 | right_response = kmalloc(resp_size, GFP_NOIO); | 3947 | right_response = kmalloc(resp_size, GFP_NOIO); |
3948 | if (response == NULL) { | 3948 | if (right_response == NULL) { |
3949 | dev_err(DEV, "kmalloc of right_response failed\n"); | 3949 | dev_err(DEV, "kmalloc of right_response failed\n"); |
3950 | rv = 0; | 3950 | rv = 0; |
3951 | goto fail; | 3951 | goto fail; |