From 236a13bd4d2b933c3256a8ba5dc09e900904d44f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 11 Aug 2015 22:25:22 +0000 Subject: [PATCH] iscsi-scst: Suppress put_page_callback patch warnings (merge r6340 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6474 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index ade1528a3..f8a338682 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -28,7 +28,7 @@ #include "digest.h" #include "iscsit_transport.h" -#ifndef GENERATING_UPSTREAM_PATCH +#if 0 && !defined(GENERATING_UPSTREAM_PATCH) #if !defined(CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION) #warning Patch put_page_callback-.patch not applied on your \ kernel or CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION \ @@ -4292,7 +4292,7 @@ static int __init iscsi_init(void) goto out_destroy_mempool; } #else -#ifndef GENERATING_UPSTREAM_PATCH +#if 0 && !defined(GENERATING_UPSTREAM_PATCH) PRINT_WARNING("%s", "CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION " "not enabled in your kernel. ISCSI-SCST will be working with "