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: <200910072123.34048.mitov@issp.bas.bg>
Date:	Wed, 7 Oct 2009 21:23:33 +0300
From:	Marin Mitov <mitov@...p.bas.bg>
To:	linux-kernel@...r.kernel.org
Cc:	"David S. Miller" <davem@...hat.com>,
	Richard Henderson <rth@...nus.com>,
	Jakub Jelinek <jakub@...hat.com>
Subject: [PATCH]Documentation: Use DMA_BIT_MASK(24) instead of 0x00ffffff

Hi all,

Use DMA_BIT_MASK(24) instead of 0x00ffffff in DMA-mapping.txt

The patch is against 2.6.32-rc3

Signed-off-by: Marin Mitov <mitov@...p.bas.bg>

======================================================
--- a/Documentation/DMA-mapping.txt	2009-10-05 17:43:52.000000000 +0300
+++ b/Documentation/DMA-mapping.txt	2009-10-05 17:44:45.000000000 +0300
@@ -214,7 +214,7 @@
 Here is pseudo-code showing how this might be done:
 
 	#define PLAYBACK_ADDRESS_BITS	DMA_BIT_MASK(32)
-	#define RECORD_ADDRESS_BITS	0x00ffffff
+	#define RECORD_ADDRESS_BITS	DMA_BIT_MASK(24)
 
 	struct my_sound_card *card;
 	struct pci_dev *pdev;
--
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