diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-17 14:25:12 -0800 |
---|---|---|
committer | Shashank Sharma <shashank.sharma@intel.com> | 2022-02-14 19:23:49 +0000 |
commit | 8bc148f0c14f6a6df1c3643a774e00a00c7942c6 (patch) | |
tree | c4000615a2c5faa45861aa33ec5e240b655a0356 | |
parent | 65c127366a22c03d2ffcdcdf91eec28cac733e83 (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/amdgpu_pixmap.c | 2 | ||||
-rw-r--r-- | src/simple_list.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/amdgpu_pixmap.c b/src/amdgpu_pixmap.c index c5e80ad..18bdf4a 100644 --- a/src/amdgpu_pixmap.c +++ b/src/amdgpu_pixmap.c @@ -38,7 +38,7 @@ amdgpu_pixmap_create(ScreenPtr screen, int w, int h, int depth, unsigned usage) PixmapPtr pixmap; AMDGPUInfoPtr info; - /* only DRI2 pixmap is suppported */ + /* only DRI2 pixmap is supported */ if (!(usage & AMDGPU_CREATE_PIXMAP_DRI2)) return fbCreatePixmap(screen, w, h, depth, usage); diff --git a/src/simple_list.h b/src/simple_list.h index 94a8af4..d569cff 100644 --- a/src/simple_list.h +++ b/src/simple_list.h @@ -2,7 +2,7 @@ * \file simple_list.h * Simple macros for type-safe, intrusive lists. * - * Intended to work with a list sentinal which is created as an empty + * Intended to work with a list sentinel which is created as an empty * list. Insert & delete are O(1). * * \author @@ -107,12 +107,12 @@ do { \ /** * Make a empty list empty. * - * \param sentinal list (sentinal element). + * \param sentinel list (sentinel element). */ -#define make_empty_list(sentinal) \ +#define make_empty_list(sentinel) \ do { \ - (sentinal)->next = sentinal; \ - (sentinal)->prev = sentinal; \ + (sentinel)->next = sentinel; \ + (sentinel)->prev = sentinel; \ } while (0) /** |