#asahi · 2023-10-08 11:57
ydaltoninteresting#asahi · 2023-10-08 11:55
ydaltoni don't see where that would cause issues#asahi · 2023-10-08 11:55
ydaltonif(ret) return ret; or a goto somewhere#asahi · 2023-10-08 11:54
ydaltonlike ret = foo();#asahi · 2023-10-08 11:54
ydaltonwouldn't a function set it to 0 or non zero?#asahi · 2023-10-08 11:54
ydaltonwait, how?#asahi · 2023-10-08 11:53
ydaltonmakes sense #asahi · 2023-10-08 11:48
ydaltonunless i'm blind lol#asahi · 2023-10-08 11:48
ydaltonis it? i don't see it in this document https://www.kernel.org/doc/html/latest/process/coding-style.html#asahi · 2023-10-08 11:45
ydaltonthat's just for readability's sake right?#asahi · 2023-10-08 11:44
ydaltonyet a lot of kernel code i see still declares variables at the beginning of scope even though it's not required anymore#asahi · 2023-10-08 11:44
ydaltoninteresting#asahi · 2023-10-08 11:37
ydaltonthat's also c99 i think#asahi · 2023-10-08 11:37
ydaltonthat's a dime a dozen in the kernel#asahi · 2023-10-08 11:37
ydaltonstruct file_operations fops = { .open = foo_open, .read = foo_read };#asahi · 2023-10-08 11:36
ydaltonand also this thing#asahi · 2023-10-08 11:36
ydaltonah#asahi · 2023-10-08 11:35
ydalton"relatively" new#asahi · 2023-10-08 11:34
ydalton{0} is kind of a new thing right?#asahi · 2023-10-08 11:33
ydaltonbut i mean if you just stack allocate a struct you would either do memset or {0}#asahi · 2023-10-08 11:33
ydaltonkzalloc is a heap allocator no?#asahi · 2023-10-08 11:32
ydaltonunless you stack allocate or heap allocate#asahi · 2023-10-08 11:31
ydaltonmaybe i could set that up myself#asahi · 2023-10-08 11:31
ydaltonwould like to see a elixir bootlin-style asahi linux kernel source explorer! #asahi · 2023-10-08 11:30
ydaltonhm, but i see memset being used sometimes#asahi · 2023-10-08 11:28
ydaltons/strcuts/structs#asahi · 2023-10-08 11:28
ydaltondoes C in the linux kernel support zeroing out strcuts with {0}?#asahi · 2023-10-08 11:26
ydaltonbut that excuse is overused#asahi · 2023-10-08 11:25
ydaltonmaybe to prevent spamming #asahi · 2023-10-08 11:25
ydaltonagreed#asahi · 2023-10-08 11:25
ydaltongrepping the tree is much better#asahi · 2023-10-08 11:23
ydaltoni see it now#asahi · 2023-10-08 11:22
ydaltongithub's search function is plain garbage XD#asahi · 2023-10-08 11:21
ydaltonwhich file is it in?#asahi · 2023-10-08 11:19
ydaltonoh okay#asahi · 2023-10-08 11:18
ydaltoni'm looking in drivers/media/apple/isp#asahi · 2023-10-08 11:18
ydaltonwait, where in the driver is it doing that? i'm reading the source but i can't seem to find it#asahi · 2023-10-08 11:12
ydaltonah, i see#asahi · 2023-10-08 11:12
ydaltonoh, it just takes out data from that executable and the linux driver just uploads it, right?#asahi · 2023-10-08 11:11
ydaltoni don't get it, what part of the boot process is it executed?#asahi · 2023-10-08 11:11
ydaltonoh, is it a baremetal executable?\#asahi · 2023-10-08 11:09
ydaltoni don't get what appleh13camerad is. what is it running on? the webcam?#asahi · 2023-10-08 08:43
ydaltonnormally i'd expect it to just work? what happened exactly#asahi · 2023-10-08 08:41
ydaltonwasn't most of the time spent installing gentoo#asahi · 2023-10-08 08:40
ydaltonyeah, you need practice and shit#asahi · 2023-10-08 08:39
ydaltonthat you brought up in 6 hours#asahi · 2023-10-08 08:38
ydaltonchadmed: i saw that video of yours of the m2 macbook air 15 inch with music :)#asahi · 2023-10-08 08:35
ydaltonwhy does nobody learn, just wait for proper speaker safety instead of damaging your devices :P#asahi · 2023-10-07 21:17
ydaltonproton is wine#asahi · 2023-10-07 21:17
ydaltonbut not with slp's krunvm right?