- dma-add-dma_map_attrs-interfaces-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     fix up for dma-add-dma_map_attrs-interfaces and update docs
has been removed from the -mm tree.  Its filename was
     dma-add-dma_map_attrs-interfaces-fix.patch

This patch was dropped because it was folded into dma-add-dma_map_attrs-interfaces.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: fix up for dma-add-dma_map_attrs-interfaces and update docs
From: Mark Nelson <markn@xxxxxxxxxxx>

But more importantly, dma_{set,get}_attr() have to be static inline

Signed-off-by: Mark Nelson <markn@xxxxxxxxxxx>
Cc: Arthur Kepner <akepner@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/dma-attrs.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN include/linux/dma-attrs.h~dma-add-dma_map_attrs-interfaces-fix include/linux/dma-attrs.h
--- a/include/linux/dma-attrs.h~dma-add-dma_map_attrs-interfaces-fix
+++ a/include/linux/dma-attrs.h
@@ -41,7 +41,7 @@ static inline void init_dma_attrs(struct
  * @attr: attribute to set
  * @attrs: struct dma_attrs (may be NULL)
  */
-void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs)
+static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs)
 {
 	if (attrs == NULL)
 		return;
@@ -54,7 +54,7 @@ void dma_set_attr(enum dma_attr attr, st
  * @attr: attribute to set
  * @attrs: struct dma_attrs (may be NULL)
  */
-int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs)
+static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs)
 {
 	if (attrs == NULL)
 		return 0;
_

Patches currently in -mm which might be from markn@xxxxxxxxxxx are

dma-add-dma_map_attrs-interfaces.patch
dma-add-dma_map_attrs-interfaces-fix.patch
dma-document-dma_map_attrs-interfaces-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux