Kernel Comments

95 Followers
0 Following
150 Posts
Comments from the Linux kernel source code (edited for readability)
/* here be dragons and swear words */
linux/arch/x86/boot/video.c at v7.1 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub

/* Could sort here, but pun for now. Should not happen anyroads. */

https://github.com/torvalds/linux/blob/v7.1/arch/x86/mm/amdtopology.c#L141

#linux #kernel #amd

linux/arch/x86/mm/amdtopology.c at v7.1 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub
linux/arch/powerpc/xmon/xmon.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub
linux/arch/powerpc/kernel/process.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub

/* Most the code here is 99.9993422% unused. I hope there are no bugs. But what .. HPFS.IFS has also bugs in ea management. */

https://github.com/torvalds/linux/blob/v7.0/fs/hpfs/ea.c#L265-L266

#linux #kernel #hpfs

linux/fs/hpfs/ea.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub
linux/arch/sh/kernel/idle.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub
linux/drivers/char/hw_random/core.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub

/* whee. Hard work now. The user has selected a bitrate and bit format, so now we have to program our I2S controller appropriately. */

https://github.com/torvalds/linux/blob/v7.0/sound/aoa/soundbus/i2sbus/pcm.c#L309-L311

#linux #kernel #sound

linux/sound/aoa/soundbus/i2sbus/pcm.c at v7.0 · torvalds/linux

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

GitHub