Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=62270336e8fdfbea36cb455c27744c23780dbf07
Commit:     62270336e8fdfbea36cb455c27744c23780dbf07
Parent:     e7e381f639657b2e681ff6fb31e131db360550ac
Author:     Anton Vorontsov <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 13 19:23:33 2007 +0400
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Sep 15 19:32:01 2007 -0400

    ucc_geth: fix compilation
    
    Currently qe_bd_t is used in the macro call -- dma_unmap_single,
    which is a no-op on PPC32, thus error is hidden today. Starting
    with 2.6.24, macro will be replaced by the empty static function,
    and erroneous use of qe_bd_t will trigger compilation error.
    
    Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/ucc_geth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 12e01b2..9a38dfe 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -2148,7 +2148,7 @@ static void ucc_geth_memclean(struct ucc_geth_private 
*ugeth)
                for (j = 0; j < ugeth->ug_info->bdRingLenTx[i]; j++) {
                        if (ugeth->tx_skbuff[i][j]) {
                                dma_unmap_single(NULL,
-                                                ((qe_bd_t *)bd)->buf,
+                                                ((struct qe_bd *)bd)->buf,
                                                 (in_be32((u32 *)bd) &
                                                  BD_LENGTH_MASK),
                                                 DMA_TO_DEVICE);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to