lkml.org 
[lkml]   [2020]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/3] media: Add support for the AM/FM radio chip KT0913 from KT Micro.
From
Date
On Fri, 2020-07-17 at 11:29 +0200, Hans Verkuil wrote:
> It's standard linux codingstyle to use lowercase for hex numbers.
> Can you change that throughout the source for the next version?

Is there a standard? It's not in coding-style.rst.

While I prefer lowercase too, it seems the kernel has
only ~2:1 preference for lowercase to uppercase hex.

$ git grep -ohP '\b0[xX][0-9a-f]+\b' | grep [a-f] | wc -l
1149833
$ git grep -ohP '\b0[xX][0-9A-F]+\b' | grep [A-F] | wc -l
575781


\
 
 \ /
  Last update: 2020-07-17 11:52    [W:0.084 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site