ChanServ changed the topic of #linux-msm to:
JIaxyga[m] has joined #linux-msm
<JIaxyga[m]> <konradybcio> "JIaxyga: what's the downstream..." <- yupik
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
jhovold has joined #linux-msm
zstas has joined #linux-msm
Daanct12 has joined #linux-msm
pespin has joined #linux-msm
srinik has joined #linux-msm
pespin has quit []
pespin has joined #linux-msm
mripard has joined #linux-msm
tmerciai has joined #linux-msm
<lumag> aka_[m], please drop the dev_err and pname. Use devm_ioremap_resource().
<lumag> Daanct12, either konradybcio or I will take a look. It was posted just yesterday
<aka_[m]> krzk: "Don't duplicate. It's already required." Is only about model and compatible?
<aka_[m]> Thats what was in 8916 -if block
<aka_[m]> and i somehow cannot find any example where there are multiple -ifs and then else
<aka_[m]> if i drop else at the end and add new -if 8916 example fail to validate
<krzk> aka_[m]: yeah, only about model and compat. I saw later that it's in other block, but anyway - ifi you rebase on my patch, you will not see them there.
<aka_[m]> aaa i cannot even explain what i mean
<aka_[m]> krzk: You had patch on this doc?
<krzk> aka_[m]: there are no multiple if+if+else, instead we do if+if+if covering all possible cases
<krzk> aka_[m]: yeah, I cced you
<aka_[m]> seems my next is few days too old then
<krzk> aka_[m]: no, I meant, I sent it...
<aka_[m]> just opened thunderbird now i see it @10:33
<krzk> aka_[m]: so if you rebase on top, then - top-level reg and reg-names should grow to three items, and you should add "minItems: 2" to each. Then you add if:then, with maxItems: 2, and else: with minItems: 3 (depemnding on variant/compatible_
<aka_[m]> that sounds better
<lumag> aka_[m], ?
<aka_[m]> please drop the dev_err and pname. Use devm_ioremap_resource().
<lumag> aka_[m], yes. Users of 8916 shouldn't see the error, so drop the dev_err.
<aka_[m]> so no erroring or returning anywhere?
<lumag> also you are calling devm_platform_ioremap_resource_byname(), but you already have the resource, no need to get it again
<aka_[m]> not like i understand much lol
<aka_[m]> ah yes
<aka_[m]> i grabbed resource by name
<lumag> yes, no need to error, if it's not expected to be present
<aka_[m]> fast rebasing patch
<aka_[m]> should be it like that?
<aka_[m]> wait
<aka_[m]> error handling i guess
<aka_[m]> what if res is empty?
<aka_[m]> uh i guess devm_ioremap_resource checks res before?
<lumag> aka_[m], it doesn't give you anything, devm_ioremap_resource would still print an error internally.
<aka_[m]> okay
<lumag> if (!res || resource_type(res) != IORESOURCE_MEM) {
<lumag> ret = dev_err_probe(dev, -EINVAL, "invalid resource %pR\n", res);
<lumag> So get resource and if it's not NULL, call devm_ioremap_resource
<aka_[m]> now onto trying to compile with clang...
<aka_[m]> it kinda drives me nuts to see kernel test robot throw entire stacks and gcc is silent af
<aka_[m]> lumag: so by default iomem pointer is initialized as Null?
<lumag> aka_[m], I guess so. Does memory allocation use something like kzalloc?
zstas has quit [Ping timeout: 480 seconds]
<aka_[m]> make -j16 LLVM=1 ARCH=arm64 seems to work
<aka_[m]> tho not sure if i need W=1
<aka_[m]> seems clang catches stuff but errors are bit different
<aka_[m]> very close tho
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #linux-msm
srinik has quit [Remote host closed the connection]
srinik has joined #linux-msm
pevik_ has quit [Quit: Reconnecting]
pevik_ has joined #linux-msm
pevik_ has quit [Remote host closed the connection]
pevik has joined #linux-msm
srini_ has joined #linux-msm
srinik has quit [Ping timeout: 480 seconds]
zstas has joined #linux-msm
Daanct12 has quit [Quit: WeeChat 4.3.5]
xtex has quit [Remote host closed the connection]
xtex has joined #linux-msm
Caterpillar has quit [Quit: Konversation terminated!]
irungentoo has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
irungentoo has joined #linux-msm
irungentoo has quit []
irungentoo has joined #linux-msm
srini_ has quit [Ping timeout: 480 seconds]
pespin has quit [Remote host closed the connection]
zstas has quit [Ping timeout: 480 seconds]
alexeymin has quit [Read error: Connection reset by peer]
alexeymin has joined #linux-msm
jhovold has quit [Ping timeout: 480 seconds]
ungeskriptet is now known as Guest1098
ungeskriptet has joined #linux-msm
Guest1098 has quit [Ping timeout: 480 seconds]