Re: [DNM RFC PATCH] drm/msm: Use lowercase hex for !defines

2022-10-12 Thread Rob Clark
On Sat, Oct 8, 2022 at 10:43 AM Konrad Dybcio wrote: > > drm/msm capitalizes hex numbers rather randomly. Try to unify it. yeah, there were some different preferences of various patch authors for shouty HEX vs quiet hex... tbh I prefer the latter, but not really sure it is worth the noise in git

Re: [DNM RFC PATCH] drm/msm: Use lowercase hex for !defines

2022-10-08 Thread Konrad Dybcio
On 8.10.2022 19:43, Konrad Dybcio wrote: > drm/msm capitalizes hex numbers rather randomly. Try to unify it. > > Generated with: > > grep -rEl "\s0x\w*[A-Z]+*\w*" drivers/gpu/drm/msm | \ > xargs sed -i '/define/! s/\s0x\w*[A-Z]+*\w*/\L&/g' > --- > I could not find any strict hex

[DNM RFC PATCH] drm/msm: Use lowercase hex for !defines

2022-10-08 Thread Konrad Dybcio
drm/msm capitalizes hex numbers rather randomly. Try to unify it. Generated with: grep -rEl "\s0x\w*[A-Z]+*\w*" drivers/gpu/drm/msm | \ xargs sed -i '/define/! s/\s0x\w*[A-Z]+*\w*/\L&/g' --- I could not find any strict hex capitalization rules for Linux, so I'm sending this very loosely, without