Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01, v2024.04-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
joeskb7 has joined #u-boot
rvalue has quit [Ping timeout: 256 seconds]
joeskb7 has quit [Quit: Lost terminal]
rvalue has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
hanetzer has joined #u-boot
vagrantc has joined #u-boot
Clamor has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
F0rTex has quit [Ping timeout: 252 seconds]
F0rTex has joined #u-boot
jclsn has quit [Ping timeout: 264 seconds]
jclsn has joined #u-boot
davlefou has quit [Ping timeout: 264 seconds]
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #u-boot
Leopold has quit [Excess Flood]
Leopold has joined #u-boot
macromorgan has joined #u-boot
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #u-boot
flyback is now known as flyback50
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #u-boot
vagrantc has quit [Quit: leaving]
justache is now known as justache_Test
justache_Test is now known as justache
Clamor has joined #u-boot
norton has joined #u-boot
norton has quit [Ping timeout: 255 seconds]
germ has joined #u-boot
macromorgan has quit [Ping timeout: 260 seconds]
edwinistrator2 has quit [Ping timeout: 256 seconds]
stefanro has joined #u-boot
edwinistrator2 has joined #u-boot
monstr has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
goliath has joined #u-boot
ezulian has joined #u-boot
ldevulder has joined #u-boot
mckoan|away is now known as mckoan
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #u-boot
linfax has quit [Remote host closed the connection]
naoki has quit [Quit: naoki]
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #u-boot
frieder has joined #u-boot
flokli has quit [Read error: Connection reset by peer]
matthias_bgg has joined #u-boot
prabhakalad has quit [Ping timeout: 264 seconds]
prabhakalad has joined #u-boot
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #u-boot
sszy has joined #u-boot
edwinistrator22 has joined #u-boot
prabhakalad has quit [Quit: Konversation terminated!]
edwinistrator2 has quit [Ping timeout: 272 seconds]
edwinistrator22 is now known as edwinistrator2
mripard has joined #u-boot
flokli has joined #u-boot
mmu_man has joined #u-boot
naoki has joined #u-boot
frieder has quit [Ping timeout: 255 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
frieder has joined #u-boot
ezulian has quit [Remote host closed the connection]
davlefou has joined #u-boot
ezulian has joined #u-boot
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #u-boot
frieder has quit [Ping timeout: 255 seconds]
monstr has quit [Ping timeout: 252 seconds]
norton has joined #u-boot
naoki has quit [Quit: naoki]
frieder has joined #u-boot
macromorgan has joined #u-boot
linfax has joined #u-boot
linfax has quit [Ping timeout: 240 seconds]
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #u-boot
norton has quit [Quit: WeeChat 4.2.1]
goliath has quit [Quit: SIGSEGV]
<cambrian_invader> marex: it gets cast to ulong
<cambrian_invader> not really ideal; this is kinda a surprising interface for this reason
<cambrian_invader> it may be better to return 0 like Linux?
<cambrian_invader> idk
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
zeemate has joined #u-boot
<marex> cambrian_invader: ulong is unsigned, so hard to return -ve, right ?
<cambrian_invader> it's pretty easy
<cambrian_invader> `return -EINVAL` etc.
<cambrian_invader> for the checking part you have to use IS_ERR_VAL
<marex> cambrian_invader: maybe we should change it to signed integer ? But yeah, that could have other side effects, sigh
<cambrian_invader> yeah, I'm not looking forward to breaking X board which has a 3 GHz clock
<cambrian_invader> so the only real alternative is to return 0 in cases of error
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #u-boot
joeskb7 has joined #u-boot
ikarso has joined #u-boot
frieder has quit [Remote host closed the connection]
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.01, v2024.04-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.04 is scheduled for 02 April 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
rvalue has quit [Ping timeout: 240 seconds]
mckoan is now known as mckoan|away
rvalue has joined #u-boot
Clamor has quit [Ping timeout: 268 seconds]
Clamor has joined #u-boot
ezulian has quit [Ping timeout: 260 seconds]
ezulian has joined #u-boot
ezulian has quit [Ping timeout: 272 seconds]
ezulian has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ezulian has quit [Remote host closed the connection]
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
JPEW has quit [Read error: Connection reset by peer]
mkorpershoek has quit [Read error: Connection reset by peer]
sjg1 has quit [Read error: Connection reset by peer]
JPEW has joined #u-boot
mkorpershoek has joined #u-boot
sjg1 has joined #u-boot
<marex> cambrian_invader: what does Linux do anyway ?
crb has quit [Read error: Connection reset by peer]
crb_ has joined #u-boot
vagrantc has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
<cambrian_invader> marex: return 0
ikarso has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
goliath has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
<marex> cambrian_invader: it is somewhat hard to demux errors that way
Clamor has quit [Read error: Connection reset by peer]
naoki has joined #u-boot
<cambrian_invader> marex: yeah; I guess the real issue is that most error handling looks like "if (err) return err"
<cambrian_invader> so does it matter? idk
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #u-boot
<marex> cambrian_invader: so it is, hum
<cambrian_invader> the other thing is that half the drivers return 0 rate when the clock is off
<cambrian_invader> because it was not properly documented what should happen in that case
Leopold has quit [Ping timeout: 260 seconds]
slobodan has joined #u-boot
Leopold has joined #u-boot
Leopold has quit [Ping timeout: 260 seconds]
zeemate has quit [Ping timeout: 256 seconds]
Leopold has joined #u-boot
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #u-boot
rvalue has quit [Ping timeout: 264 seconds]
<vagrantc> 1/5
rvalue has joined #u-boot
Leopold has quit [Ping timeout: 260 seconds]
edwinistrator29 has joined #u-boot
Leopold has joined #u-boot
vagrantc has quit [Quit: leaving]
edwinistrator2 has quit [Ping timeout: 260 seconds]
edwinistrator29 is now known as edwinistrator2
naoki has quit [Ping timeout: 264 seconds]
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #u-boot
goliath has quit [Quit: SIGSEGV]
naoki has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
wooosaiiii has quit [Ping timeout: 264 seconds]
wooosaiiii has joined #u-boot
Leopold has quit [Ping timeout: 260 seconds]