LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Giuliano Procida <giuliano.procida@googlemail.com>
To: rgooch@atnf.csiro.au
Cc: trivial@kernel.org, linux-kernel@vger.kernel.org,
	giuliano.procida@googlemail.com
Subject: [PATCH]: MTRR: cosmetic fixes
Date: Tue, 16 Jan 2007 08:12:24 +0000	[thread overview]
Message-ID: <E1H6jQe-0003z2-Ry@hilfy.n22.homeunix.net> (raw)

Subject: [PATCH]: cosmetic fixes

[MTRR 2.6.19.1]: cosmetic fixes

Signed-off-by: Giuliano Procida <giuliano.procida@googlemail.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   */
 };
 

                 reply	other threads:[~2007-01-17  5:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1H6jQe-0003z2-Ry@hilfy.n22.homeunix.net \
    --to=giuliano.procida@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rgooch@atnf.csiro.au \
    --cc=trivial@kernel.org \
    --subject='Re: [PATCH]: MTRR: cosmetic fixes' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).