mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Wu, Bryan" <bryan.wu@analog.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Arnd Bergmann <arnd@arndb.de>, Paul Mundt <lethal@linux-sh.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH -mm] Blackfin arch: fix struct dmasg packing bug
Date: Mon, 26 Mar 2007 18:11:15 +0800	[thread overview]
Message-ID: <1174903875.32691.63.camel@roc-desktop> (raw)

Hi folks,

This patch fix a bug about struct dmasg packed missing bug.
Using __attribute__ instead of pragma.

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---

 include/asm-blackfin/dma.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/include/asm-blackfin/dma.h
===================================================================
--- linux-2.6.orig/include/asm-blackfin/dma.h
+++ linux-2.6/include/asm-blackfin/dma.h
@@ -84,7 +84,7 @@
 	short x_modify;
 	unsigned short y_count;
 	short y_modify;
-};
+} __attribute__((packed));
 
 struct dma_register {
 	unsigned long next_desc_ptr;	/* DMA Next Descriptor Pointer register */
_

Thanks,
-Bryan Wu

                 reply	other threads:[~2007-03-26 10:10 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=1174903875.32691.63.camel@roc-desktop \
    --to=bryan.wu@analog.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome