[PATCH] lib/raid6: fix preprocessor warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes the following preprocessor warning:
lib/raid6/recov_avx2.c:11:5: warning: "CONFIG_AS_AVX2" is not defined [-Wundef]

Signed-off-by: Mikulas Patocka <mpatocka@xxxxxxxxxx>
Cc: stable@xxxxxxxxxx	# 3.8+

---
 lib/raid6/recov_avx2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-3.12.3/lib/raid6/recov_avx2.c
===================================================================
--- linux-3.12.3.orig/lib/raid6/recov_avx2.c	2013-12-05 19:54:41.000000000 +0100
+++ linux-3.12.3/lib/raid6/recov_avx2.c	2013-12-05 19:54:46.000000000 +0100
@@ -8,7 +8,7 @@
  * of the License.
  */
 
-#if CONFIG_AS_AVX2
+#ifdef CONFIG_AS_AVX2
 
 #include <linux/raid/pq.h>
 #include "x86.h"
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux