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: <E1H6jQe-0003z2-Ry@hilfy.n22.homeunix.net>
Date:	Tue, 16 Jan 2007 08:12:24 +0000
From:	Giuliano Procida <giuliano.procida@...glemail.com>
To:	rgooch@...f.csiro.au
CC:	trivial@...nel.org, linux-kernel@...r.kernel.org,
	giuliano.procida@...glemail.com
Subject: [PATCH]: MTRR: cosmetic fixes

Subject: [PATCH]: cosmetic fixes

[MTRR 2.6.19.1]: cosmetic fixes

Signed-off-by: Giuliano Procida <giuliano.procida@...glemail.com>

---

Fixed incorrect (though identical) types in struct mtrr_gentry32 and
tided some badly-indented comments.

--- linux-source-2.6.19.1.orig/include/asm-x86_64/mtrr.h	2006-12-11 19:32:53.000000000 +0000
+++ linux-source-2.6.19.1/include/asm-x86_64/mtrr.h	2007-01-16 07:33:19.000000000 +0000
@@ -30,7 +30,7 @@
 struct mtrr_sentry
 {
     unsigned long base;    /*  Base address     */
-    unsigned int size;    /*  Size of region   */
+    unsigned int size;     /*  Size of region   */
     unsigned int type;     /*  Type of region   */
 };
 
@@ -41,7 +41,7 @@ struct mtrr_sentry
 struct mtrr_gentry
 {
     unsigned long base;    /*  Base address     */
-    unsigned int size;    /*  Size of region   */
+    unsigned int size;     /*  Size of region   */
     unsigned int regnum;   /*  Register number  */
     unsigned int type;     /*  Type of region   */
 };
@@ -108,15 +108,15 @@ static __inline__ int mtrr_del_page (int
 struct mtrr_sentry32
 {
     compat_ulong_t base;    /*  Base address     */
-    compat_uint_t size;    /*  Size of region   */
+    compat_uint_t size;     /*  Size of region   */
     compat_uint_t type;     /*  Type of region   */
 };
 
 struct mtrr_gentry32
 {
-    compat_ulong_t regnum;   /*  Register number  */
-    compat_uint_t base;    /*  Base address     */
-    compat_uint_t size;    /*  Size of region   */
+    compat_uint_t regnum;   /*  Register number  */
+    compat_ulong_t base;    /*  Base address     */
+    compat_uint_t size;     /*  Size of region   */
     compat_uint_t type;     /*  Type of region   */
 };
 
-
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