* [Patch] dma: remove DMA_xxBIT_MASK macros
@ 2011-06-16 9:00 Américo Wang
2011-06-16 16:23 ` FUJITA Tomonori
2011-06-16 20:37 ` Jiri Slaby
0 siblings, 2 replies; 4+ messages in thread
From: Américo Wang @ 2011-06-16 9:00 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: Vinod Koul, Dan Williams, linux-kernel, Andrew Morton
git grep shows there are no users in tree, so we can
remove them safely.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
Documentation/feature-removal-schedule.txt | 7 -------
include/linux/dma-mapping.h | 21 ---------------------
2 files changed, 0 insertions(+), 28 deletions(-)
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 72e2384..8e2d816 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -474,13 +474,6 @@ Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
----------------------------
-What: DMA_xxBIT_MASK macros
-When: Jun 2011
-Why: DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros.
-Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-
-----------------------------
-
What: iwlwifi disable_hw_scan module parameters
When: 2.6.40
Why: Hareware scan is the prefer method for iwlwifi devices for
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index ba8319a..dc77808 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -54,27 +54,6 @@ struct dma_map_ops {
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-typedef u64 DMA_nnBIT_MASK __deprecated;
-
-/*
- * NOTE: do not use the below macros in new code and do not add new definitions
- * here.
- *
- * Instead, just open-code DMA_BIT_MASK(n) within your driver
- */
-#define DMA_64BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(64)
-#define DMA_48BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(48)
-#define DMA_47BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(47)
-#define DMA_40BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(40)
-#define DMA_39BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(39)
-#define DMA_35BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(35)
-#define DMA_32BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(32)
-#define DMA_31BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(31)
-#define DMA_30BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(30)
-#define DMA_29BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(29)
-#define DMA_28BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(28)
-#define DMA_24BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(24)
-
#define DMA_MASK_NONE 0x0ULL
static inline int valid_dma_direction(int dma_direction)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Patch] dma: remove DMA_xxBIT_MASK macros
2011-06-16 9:00 [Patch] dma: remove DMA_xxBIT_MASK macros Américo Wang
@ 2011-06-16 16:23 ` FUJITA Tomonori
2011-06-16 20:37 ` Jiri Slaby
1 sibling, 0 replies; 4+ messages in thread
From: FUJITA Tomonori @ 2011-06-16 16:23 UTC (permalink / raw)
To: xiyou.wangcong
Cc: fujita.tomonori, vinod.koul, dan.j.williams, linux-kernel, akpm
On Thu, 16 Jun 2011 17:00:37 +0800
**UNKNOWN CHARSET** Wang <xiyou.wangcong@gmail.com> wrote:
>
> git grep shows there are no users in tree, so we can
> remove them safely.
>
> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
>
> ---
> Documentation/feature-removal-schedule.txt | 7 -------
> include/linux/dma-mapping.h | 21 ---------------------
> 2 files changed, 0 insertions(+), 28 deletions(-)
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Andrew, can you merge this via the -mm tree?
Thanks,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Patch] dma: remove DMA_xxBIT_MASK macros
2011-06-16 9:00 [Patch] dma: remove DMA_xxBIT_MASK macros Américo Wang
2011-06-16 16:23 ` FUJITA Tomonori
@ 2011-06-16 20:37 ` Jiri Slaby
2011-06-24 10:47 ` Koul, Vinod
1 sibling, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2011-06-16 20:37 UTC (permalink / raw)
To: Américo Wang
Cc: FUJITA Tomonori, Vinod Koul, Dan Williams, linux-kernel, Andrew Morton
On 06/16/2011 11:00 AM, Américo Wang wrote:
>
> git grep shows there are no users in tree, so we can
> remove them safely.
>
> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Oh, my __deprecated hack goes away. Nice :).
Acked-by: Jiri Slaby <jslaby@suse.cz>
> ---
> Documentation/feature-removal-schedule.txt | 7 -------
> include/linux/dma-mapping.h | 21 ---------------------
> 2 files changed, 0 insertions(+), 28 deletions(-)
>
> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> index 72e2384..8e2d816 100644
> --- a/Documentation/feature-removal-schedule.txt
> +++ b/Documentation/feature-removal-schedule.txt
> @@ -474,13 +474,6 @@ Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
>
> ----------------------------
>
> -What: DMA_xxBIT_MASK macros
> -When: Jun 2011
> -Why: DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros.
> -Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> -
> -----------------------------
> -
> What: iwlwifi disable_hw_scan module parameters
> When: 2.6.40
> Why: Hareware scan is the prefer method for iwlwifi devices for
> diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
> index ba8319a..dc77808 100644
> --- a/include/linux/dma-mapping.h
> +++ b/include/linux/dma-mapping.h
> @@ -54,27 +54,6 @@ struct dma_map_ops {
>
> #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
>
> -typedef u64 DMA_nnBIT_MASK __deprecated;
> -
> -/*
> - * NOTE: do not use the below macros in new code and do not add new definitions
> - * here.
> - *
> - * Instead, just open-code DMA_BIT_MASK(n) within your driver
> - */
> -#define DMA_64BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(64)
> -#define DMA_48BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(48)
> -#define DMA_47BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(47)
> -#define DMA_40BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(40)
> -#define DMA_39BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(39)
> -#define DMA_35BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(35)
> -#define DMA_32BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(32)
> -#define DMA_31BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(31)
> -#define DMA_30BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(30)
> -#define DMA_29BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(29)
> -#define DMA_28BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(28)
> -#define DMA_24BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(24)
> -
> #define DMA_MASK_NONE 0x0ULL
>
> static inline int valid_dma_direction(int dma_direction)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
js
suse labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Patch] dma: remove DMA_xxBIT_MASK macros
2011-06-16 20:37 ` Jiri Slaby
@ 2011-06-24 10:47 ` Koul, Vinod
0 siblings, 0 replies; 4+ messages in thread
From: Koul, Vinod @ 2011-06-24 10:47 UTC (permalink / raw)
To: Jiri Slaby
Cc: Américo Wang, FUJITA Tomonori, Dan Williams, linux-kernel,
Andrew Morton
On Thu, 2011-06-16 at 22:37 +0200, Jiri Slaby wrote:
> On 06/16/2011 11:00 AM, Américo Wang wrote:
> >
> > git grep shows there are no users in tree, so we can
> > remove them safely.
> >
> > Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
> > Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
>
> Oh, my __deprecated hack goes away. Nice :).
>
> Acked-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Vinod Koul <vinod.koul@intel.com>
>
> > ---
> > Documentation/feature-removal-schedule.txt | 7 -------
> > include/linux/dma-mapping.h | 21 ---------------------
> > 2 files changed, 0 insertions(+), 28 deletions(-)
> >
> > diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> > index 72e2384..8e2d816 100644
> > --- a/Documentation/feature-removal-schedule.txt
> > +++ b/Documentation/feature-removal-schedule.txt
> > @@ -474,13 +474,6 @@ Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> >
> > ----------------------------
> >
> > -What: DMA_xxBIT_MASK macros
> > -When: Jun 2011
> > -Why: DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros.
> > -Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> > -
> > -----------------------------
> > -
> > What: iwlwifi disable_hw_scan module parameters
> > When: 2.6.40
> > Why: Hareware scan is the prefer method for iwlwifi devices for
> > diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
> > index ba8319a..dc77808 100644
> > --- a/include/linux/dma-mapping.h
> > +++ b/include/linux/dma-mapping.h
> > @@ -54,27 +54,6 @@ struct dma_map_ops {
> >
> > #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
> >
> > -typedef u64 DMA_nnBIT_MASK __deprecated;
> > -
> > -/*
> > - * NOTE: do not use the below macros in new code and do not add new definitions
> > - * here.
> > - *
> > - * Instead, just open-code DMA_BIT_MASK(n) within your driver
> > - */
> > -#define DMA_64BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(64)
> > -#define DMA_48BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(48)
> > -#define DMA_47BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(47)
> > -#define DMA_40BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(40)
> > -#define DMA_39BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(39)
> > -#define DMA_35BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(35)
> > -#define DMA_32BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(32)
> > -#define DMA_31BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(31)
> > -#define DMA_30BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(30)
> > -#define DMA_29BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(29)
> > -#define DMA_28BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(28)
> > -#define DMA_24BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(24)
> > -
> > #define DMA_MASK_NONE 0x0ULL
> >
> > static inline int valid_dma_direction(int dma_direction)
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
--
~Vinod
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-24 11:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-16 9:00 [Patch] dma: remove DMA_xxBIT_MASK macros Américo Wang
2011-06-16 16:23 ` FUJITA Tomonori
2011-06-16 20:37 ` Jiri Slaby
2011-06-24 10:47 ` Koul, Vinod
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.