From c7803e79d4525bf3201c6eb85b22202ce9800373 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 19 Dec 2011 15:54:15 +0000 Subject: [PATCH] Remove superfluous double quotes from around #warning messages because checkpatch 3.0 complains about these (merge r3789 from trunk). git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4006 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 8 ++++---- qla2x00t/qla2x00-target/qla2x00t.c | 4 ++-- scst/src/dev_handlers/scst_user.c | 4 ++-- scst/src/scst_main.c | 14 +++++++------- scst_local/scst_local.c | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 66247e69e..a8c561e90 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -30,10 +30,10 @@ #ifndef 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\ - config option not set. ISCSI-SCST will be working with not the best\ - performance. Refer README file for details." +#warning Patch put_page_callback-.patch not applied on your \ +kernel or CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION \ +config option not set. ISCSI-SCST will be working with not the best \ +performance. Refer README file for details. #endif #endif diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 23fbf9191..214850dba 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -175,8 +175,8 @@ static bool q2t_is_tgt_enabled(struct scst_tgt *tgt); static ssize_t q2t_add_vtarget(const char *target_name, char *params); static ssize_t q2t_del_vtarget(const char *target_name); #else -#warning "Patch scst_fc_vport_create was not applied on\ - your kernel. Adding NPIV targets using SCST sysfs interface will be disabled." +#warning Patch scst_fc_vport_create was not applied on\ + your kernel. Adding NPIV targets using SCST sysfs interface will be disabled. #endif /*((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)) || \ defined(FC_VPORT_CREATE_DEFINED))*/ diff --git a/scst/src/dev_handlers/scst_user.c b/scst/src/dev_handlers/scst_user.c index f71811263..a4da22276 100644 --- a/scst/src/dev_handlers/scst_user.c +++ b/scst/src/dev_handlers/scst_user.c @@ -37,10 +37,10 @@ #ifndef INSIDE_KERNEL_TREE #if defined(CONFIG_HIGHMEM4G) || defined(CONFIG_HIGHMEM64G) -#warning "HIGHMEM kernel configurations are not supported by this module,\ +#warning HIGHMEM kernel configurations are not supported by this module,\ because nowadays it doesn't worth the effort. Consider changing\ VMSPLIT option or use a 64-bit configuration instead. See README file\ - for details." + for details. #endif #endif diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 53065d734..2b1414154 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -42,18 +42,18 @@ #include "scst_pres.h" #if defined(CONFIG_HIGHMEM4G) || defined(CONFIG_HIGHMEM64G) -#warning "HIGHMEM kernel configurations are fully supported, but not\ - recommended for performance reasons. Consider changing VMSPLIT\ - option or use a 64-bit configuration instead. See README file for\ - details." +#warning HIGHMEM kernel configurations are fully supported, but not \ +recommended for performance reasons. Consider changing VMSPLIT \ +option or use a 64-bit configuration instead. See README file for \ +details. #endif #if !defined(SCSI_EXEC_REQ_FIFO_DEFINED) #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) #if !defined(CONFIG_SCST_STRICT_SERIALIZING) -#warning "Patch scst_exec_req_fifo- was not applied on\ - your kernel and CONFIG_SCST_STRICT_SERIALIZING isn't defined.\ - Pass-through dev handlers will not work." +#warning Patch scst_exec_req_fifo- was not applied on \ +your kernel and CONFIG_SCST_STRICT_SERIALIZING isn't defined. \ +Pass-through dev handlers will not work. #endif /* !defined(CONFIG_SCST_STRICT_SERIALIZING) */ #else /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) */ #warning "Patch scst_exec_req_fifo- was not applied on\ diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index f0b519a3e..4033a9d49 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -47,10 +47,10 @@ #ifndef INSIDE_KERNEL_TREE #if defined(CONFIG_HIGHMEM4G) || defined(CONFIG_HIGHMEM64G) -#warning "HIGHMEM kernel configurations are not supported by this module,\ +#warning HIGHMEM kernel configurations are not supported by this module,\ because nowadays it isn't worth the effort. Consider changing\ VMSPLIT option or use a 64-bit configuration instead. See SCST core\ - README file for details." + README file for details. #endif #endif