Skip to content

Commit abee549

Browse files
drm: bufs: Clean up documentation
Fix kernel doc comments to avoid warnings when compiling with W=1. Signed-off-by: Benjamin Gaignard <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 40e5f35 commit abee549

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

drivers/gpu/drm/drm_bufs.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static int drm_map_handle(struct drm_device *dev, struct drm_hash_item *hash,
134134
shift, add);
135135
}
136136

137-
/**
137+
/*
138138
* Core function to create a range of memory available for mapping by a
139139
* non-root process.
140140
*
@@ -398,7 +398,7 @@ struct drm_local_map *drm_legacy_findmap(struct drm_device *dev,
398398
}
399399
EXPORT_SYMBOL(drm_legacy_findmap);
400400

401-
/**
401+
/*
402402
* Ioctl to specify a range of memory that is available for mapping by a
403403
* non-root process.
404404
*
@@ -499,7 +499,7 @@ int drm_legacy_getmap_ioctl(struct drm_device *dev, void *data,
499499
return 0;
500500
}
501501

502-
/**
502+
/*
503503
* Remove a map private from list and deallocate resources if the mapping
504504
* isn't in use.
505505
*
@@ -659,7 +659,7 @@ int drm_legacy_rmmap_ioctl(struct drm_device *dev, void *data,
659659
return ret;
660660
}
661661

662-
/**
662+
/*
663663
* Cleanup after an error on one of the addbufs() functions.
664664
*
665665
* \param dev DRM device.
@@ -694,7 +694,7 @@ static void drm_cleanup_buf_error(struct drm_device *dev,
694694
}
695695

696696
#if IS_ENABLED(CONFIG_AGP)
697-
/**
697+
/*
698698
* Add AGP buffers for DMA transfers.
699699
*
700700
* \param dev struct drm_device to which the buffers are to be added.
@@ -1230,7 +1230,7 @@ static int drm_legacy_addbufs_sg(struct drm_device *dev,
12301230
return 0;
12311231
}
12321232

1233-
/**
1233+
/*
12341234
* Add buffers for DMA transfers (ioctl).
12351235
*
12361236
* \param inode device inode.
@@ -1271,7 +1271,7 @@ int drm_legacy_addbufs(struct drm_device *dev, void *data,
12711271
return ret;
12721272
}
12731273

1274-
/**
1274+
/*
12751275
* Get information about the buffer mappings.
12761276
*
12771277
* This was originally mean for debugging purposes, or by a sophisticated
@@ -1362,7 +1362,7 @@ int drm_legacy_infobufs(struct drm_device *dev, void *data,
13621362
return __drm_legacy_infobufs(dev, data, &request->count, copy_one_buf);
13631363
}
13641364

1365-
/**
1365+
/*
13661366
* Specifies a low and high water mark for buffer allocation
13671367
*
13681368
* \param inode device inode.
@@ -1411,7 +1411,7 @@ int drm_legacy_markbufs(struct drm_device *dev, void *data,
14111411
return 0;
14121412
}
14131413

1414-
/**
1414+
/*
14151415
* Unreserve the buffers in list, previously reserved using drmDMA.
14161416
*
14171417
* \param inode device inode.
@@ -1463,7 +1463,7 @@ int drm_legacy_freebufs(struct drm_device *dev, void *data,
14631463
return 0;
14641464
}
14651465

1466-
/**
1466+
/*
14671467
* Maps all of the DMA buffers into client-virtual space (ioctl).
14681468
*
14691469
* \param inode device inode.

0 commit comments

Comments
 (0)