media: atomisp: Fix spelling mistakes in rmgr_vbuf.c
codespell reported following spelling mistake in rmgr_vbuf.cas below: ''' ./runtime/rmgr/src/rmgr_vbuf.c:201: succes ==> success ./runtime/rmgr/src/rmgr_vbuf.c:211: succes ==> success ./runtime/rmgr/src/rmgr_vbuf.c:215: succes ==> success ''' This patch fixes these spelling mistakes. It is good to use variable name that gives proper meaning and spelling error free. Link: https://lore.kernel.org/r/20231223072245.81630-1-kdipendra88@gmail.com Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
b68a8c7946
commit
914ec2149f
@ -198,7 +198,7 @@ void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool,
|
||||
struct ia_css_rmgr_vbuf_handle **handle)
|
||||
{
|
||||
u32 i;
|
||||
bool succes = false;
|
||||
bool success = false;
|
||||
|
||||
assert(pool);
|
||||
assert(pool->recycle);
|
||||
@ -208,11 +208,11 @@ void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool,
|
||||
if (!pool->handles[i]) {
|
||||
ia_css_rmgr_refcount_retain_vbuf(handle);
|
||||
pool->handles[i] = *handle;
|
||||
succes = true;
|
||||
success = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert(succes);
|
||||
assert(success);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user