OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86f255
)
drm/vma-manager: drm_vma_node_start() constify argument
author
Noralf Trønnes
<noralf@tronnes.org>
Tue, 7 Nov 2017 19:13:37 +0000
(20:13 +0100)
committer
Noralf Trønnes
<noralf@tronnes.org>
Sat, 11 Nov 2017 10:19:37 +0000
(11:19 +0100)
Constify argument so functions calling into this take a const argument.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-2-noralf@tronnes.org
include/drm/drm_vma_manager.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_vma_manager.h
b/include/drm/drm_vma_manager.h
index
d84d52f
..
8758df9
100644
(file)
--- a/
include/drm/drm_vma_manager.h
+++ b/
include/drm/drm_vma_manager.h
@@
-152,7
+152,7
@@
static inline void drm_vma_node_reset(struct drm_vma_offset_node *node)
* Start address of @node for page-based addressing. 0 if the node does not
* have an offset allocated.
*/
-static inline unsigned long drm_vma_node_start(struct drm_vma_offset_node *node)
+static inline unsigned long drm_vma_node_start(
const
struct drm_vma_offset_node *node)
{
return node->vm_node.start;
}