2006-11-30 09:13:49

by Mariusz Kozlowski

[permalink] [raw]
Subject: [PATCH] m68knommu: scatterlist add missing bracket

Hello,

This patch adds missing bracket.

Signed-off-by: Mariusz Kozlowski <[email protected]>

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

--- linux-2.6.19-rc6-mm2-a/include/asm-m68knommu/scatterlist.h 2006-11-16 05:03:40.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/include/asm-m68knommu/scatterlist.h 2006-11-30 00:57:24.000000000 +0100
@@ -10,7 +10,7 @@ struct scatterlist {
unsigned int length;
};

-#define sg_address(sg) (page_address((sg)->page) + (sg)->offset
+#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->length)



--
Regards,

Mariusz Kozlowski


2006-12-01 06:21:21

by Greg Ungerer

[permalink] [raw]
Subject: Re: [PATCH] m68knommu: scatterlist add missing bracket

Hi Mariusz,

Mariusz Kozlowski wrote:
> This patch adds missing bracket.
>
> Signed-off-by: Mariusz Kozlowski <[email protected]>

Thanks. I'll make sure that gets pushed up.

Regards
Greg



> include/asm-m68knommu/scatterlist.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.19-rc6-mm2-a/include/asm-m68knommu/scatterlist.h 2006-11-16 05:03:40.000000000 +0100
> +++ linux-2.6.19-rc6-mm2-b/include/asm-m68knommu/scatterlist.h 2006-11-30 00:57:24.000000000 +0100
> @@ -10,7 +10,7 @@ struct scatterlist {
> unsigned int length;
> };
>
> -#define sg_address(sg) (page_address((sg)->page) + (sg)->offset
> +#define sg_address(sg) (page_address((sg)->page) + (sg)->offset)
> #define sg_dma_address(sg) ((sg)->dma_address)
> #define sg_dma_len(sg) ((sg)->length)
>
>
>

--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [email protected]
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com