lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070918061643.GA15987@gollum.tnic>
Date:	Tue, 18 Sep 2007 08:16:43 +0200
From:	Borislav Petkov <bbpetkov@...oo.de>
To:	linux-kernel@...r.kernel.org
Cc:	achim_leubner@...ptec.com, Jeremy Fitzhardinge <jeremy@...p.org>,
	Muli Ben-Yehuda <muli@...ibm.com>
Subject: [PATCH 2/2] unify DMA_..BIT_MASK definitions v2: cleanup
	drivers/scsi/gdth.c

Move dma bitmask definitions into the dma-mappings header.

Signed-off-by: Borislav Petkov <bbpetkov@...oo.de>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Muli Ben-Yehuda <muli@...ibm.com>

---
 23-rc6/drivers/scsi/gdth.c |    5 -----
 1 file changed, 5 deletions(-)

Index: b/23-rc6/drivers/scsi/gdth.c
===================================================================
--- a/23-rc6/drivers/scsi/gdth.c	2007-09-18 08:11:01.000000000 +0200
+++ b/23-rc6/drivers/scsi/gdth.c	2007-09-18 08:14:34.000000000 +0200
@@ -392,12 +392,7 @@
 #include <linux/proc_fs.h>
 #include <linux/time.h>
 #include <linux/timer.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)
 #include <linux/dma-mapping.h>
-#else
-#define DMA_32BIT_MASK	0x00000000ffffffffULL
-#define DMA_64BIT_MASK	0xffffffffffffffffULL
-#endif
 
 #ifdef GDTH_RTC
 #include <linux/mc146818rtc.h>

-- 
Regards/Gruß,
    Boris.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ