marvin24 has quit [Ping timeout: 246 seconds]
marvin24 has joined #tegra
digetx has quit [Ping timeout: 258 seconds]
digetx has joined #tegra
JakeSays has quit [Ping timeout: 265 seconds]
JakeSays has joined #tegra
danieel has quit [Remote host closed the connection]
danieel has joined #tegra
DavidHeidelberg has quit [Quit: Bridge terminating on SIGTERM]
ServerStatsDisco has quit [Quit: Bridge terminating on SIGTERM]
x86corez has quit [Quit: Bridge terminating on SIGTERM]
thevengefulprinc has quit [Quit: Bridge terminating on SIGTERM]
ivoszbg[m] has quit [Quit: Bridge terminating on SIGTERM]
nergzd723[m] has quit [Quit: Bridge terminating on SIGTERM]
jenneron[m] has quit [Quit: Bridge terminating on SIGTERM]
kusma has quit [Quit: Bridge terminating on SIGTERM]
leanderglanda[m] has quit [Quit: Bridge terminating on SIGTERM]
maxim[m] has quit [Quit: Bridge terminating on SIGTERM]
pangelo[m] has quit [Quit: Bridge terminating on SIGTERM]
AntoniAloyTorren has quit [Quit: Bridge terminating on SIGTERM]
pgwipeout[m] has quit [Quit: Bridge terminating on SIGTERM]
maxnet[m] has quit [Quit: Bridge terminating on SIGTERM]
gavodavo has quit [Quit: Bridge terminating on SIGTERM]
DavidHeidelberg has joined #tegra
AntoniAloyTorren has joined #tegra
x86corez has joined #tegra
nergzd723[m] has joined #tegra
ServerStatsDisco has joined #tegra
thevengefulprinc has joined #tegra
leanderglanda[m] has joined #tegra
pangelo[m] has joined #tegra
jenneron[m] has joined #tegra
ivoszbg[m] has joined #tegra
pgwipeout[m] has joined #tegra
maxnet[m] has joined #tegra
maxim[m] has joined #tegra
gavodavo has joined #tegra
kusma has joined #tegra
torez has joined #tegra
digetx has quit [Ping timeout: 265 seconds]
digetx has joined #tegra
jonasschwoebel[m has joined #tegra
gouchi has joined #tegra
digetx has quit [Ping timeout: 258 seconds]
digetx has joined #tegra
<jonasschwoebel[m> digetx: Hi i submitted a pullrequest to grate today.
<jonasschwoebel[m> e.g.
<jonasschwoebel[m> But i don't understand some output from Github CI checkpatch.
<jonasschwoebel[m> I have no idea hot to make a this struct const
<jonasschwoebel[m> running
<jonasschwoebel[m> ./scripts/checkpatch.pl --no-tree --strict drivers/power/supply/surface-rt-battery.c
<jonasschwoebel[m> on my computer doesn't show this error.
<DavidHeidelberg> try running it as ./scripts/checkpatch.pl --no-tree --strict -g HEAD~NUMBER_OF_YOUR_COMMITS
<DavidHeidelberg> (commits inside your MR)
<jonasschwoebel[m> Thanks for the idea but it only shows easy fixable errors.
<jonasschwoebel[m> "WARNING: struct should normally be const" triggers 15 times.
<jonasschwoebel[m> I have 15 structs which aren't const. -> everywhere it can find the word "struct" it will throw an error
<digetx> jonasschwoebel[m: hi, you can ignore those warning, I'll fix them and other minor things after the merge
<jonasschwoebel[m> o.k. thx, Do you know why it shows this warnings?
<jonasschwoebel[m> What about "WARNING: line over 80 characters" is it a rule or a recommendation?
<jonasschwoebel[m> Right now i think it a checkpatch bug but if that isn't the case I want to know how to write "correct" code ;)
<jonasschwoebel[m> Looking at other drivers you will find some that strictly cut before 80 and others go up to 110
<DavidHeidelberg> jonasschwoebel recent decision was 120 chars max?
<DavidHeidelberg> but I guess most of kernel devs sticking up with 80 chars :D
<DavidHeidelberg> plus, of course, code which has been written before the 120 chars rule
<jonasschwoebel[m> 120 would be nice.
<jonasschwoebel[m> Also checkpatch says 80 too
<jonasschwoebel[m> * 120 would be nice.
<jonasschwoebel[m> "The preferred limit on the length of a single line is 80 columns." -
<jonasschwoebel[m> Also checkpatch says 80 too
<DavidHeidelberg> and my bad, not 120 chars, just 100 :)
<digetx> you can always check what other drivers do for a similar code, the main rule is that the code must be readable, the 80 chars is the default limit, the limit was relaxed recently because the warning was too noisy for the code that doesn't fit into the limit without hurting readability
<jonasschwoebel[m> my local checkpatch has already 100 columns as limit.
<jonasschwoebel[m> Does Github use an older/bugged version?
<digetx> it uses strict rules
<digetx> --strict option
<DavidHeidelberg> digetx he did too...
<DavidHeidelberg> it's possible, I took the script from the GIthub action market... it was suggesting to think, it'll be me maintained :/
<DavidHeidelberg> btw. clang is ready, compile tested :)
<digetx> cool, thank you
<DavidHeidelberg> btw. as I see all these ugly wrappers around checkpatch, maybe it could have option --json and just dump json file for IDE or CI
<DavidHeidelberg> but I'm very afraid to ask about it on ML, because I feel stones flying in the air :D
gouchi has quit [Remote host closed the connection]
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
digetx has joined #tegra
torez has quit [Quit: torez]