Message ID | 20230509152427.6920-4-minwoo.im.dev@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e64a7af6aa072aff5727c272fb62ec0a4eba120f |
Headers | show |
Series | cxl: clean up and fix typos | expand |
On 5/9/23 8:24 AM, Minwoo Im wrote: > cxl_memdev_target_find_decoder() has been renamed to > cxl_memdev_find_decoder in Commit 21b089025178 ("cxl: add a > 'create-region' command"). Fix function name in a comment. > > Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> > --- > cxl/region.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cxl/region.c b/cxl/region.c > index 71f152d9e5a5..45f0c6a3771c 100644 > --- a/cxl/region.c > +++ b/cxl/region.c > @@ -676,7 +676,7 @@ static int create_region(struct cxl_ctx *ctx, int *count, > } > if (cxl_decoder_get_mode(ep_decoder) != p->mode) { > /* > - * The memdev_target_find_decoder() helper returns a free > + * The cxl_memdev_find_decoder() helper returns a free > * decoder whose size has been checked for 0. > * Thus it is safe to change the mode here if needed. > */
diff --git a/cxl/region.c b/cxl/region.c index 71f152d9e5a5..45f0c6a3771c 100644 --- a/cxl/region.c +++ b/cxl/region.c @@ -676,7 +676,7 @@ static int create_region(struct cxl_ctx *ctx, int *count, } if (cxl_decoder_get_mode(ep_decoder) != p->mode) { /* - * The memdev_target_find_decoder() helper returns a free + * The cxl_memdev_find_decoder() helper returns a free * decoder whose size has been checked for 0. * Thus it is safe to change the mode here if needed. */
cxl_memdev_target_find_decoder() has been renamed to cxl_memdev_find_decoder in Commit 21b089025178 ("cxl: add a 'create-region' command"). Fix function name in a comment. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> --- cxl/region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)