On Fri, Dec 15, 2023 at 1:21 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > > Hi-- > > On 12/14/23 22:01, Ghanshyam Agrawal wrote: > > Fixed multiple typos in vmwgfx_execbuf.c > > > > Signed-off-by: Ghanshyam Agrawal <ghanshyam1898@xxxxxxxxx> > > --- > > V2: > > Fixed some more typos suggested by codespell > > and the community. > > > > V1: > > Fixed multiple typos > > > > drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > > index 36987ef3fc30..76aa72e8be73 100644 > > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > > @@ -127,7 +127,7 @@ struct vmw_ctx_validation_info { > > * @func: Call-back to handle the command. > > * @user_allow: Whether allowed from the execbuf ioctl. > > * @gb_disable: Whether disabled if guest-backed objects are available. > > - * @gb_enable: Whether enabled iff guest-backed objects are available. > > + * @gb_enable: Whether enabled if guest-backed objects are available. > > "iff" normally means "if and only if" and its use in the kernel sources is > usually not a mistake. However, this one sounds dodgy to me (before your change), > so it's OK IMO. Also, the line above it uses "if" for a similar comment. > > Maybe someone else knows better. Right, this one was "iff". I submitted a version of this without the iff change to drm-misc-next. z