Making contributions to linux kernel upstream

自己上 patch 到 linux kernel mailing list 的筆記。 kernel 開發筆記 vim 設定 :set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab cindent cc=80 編譯 make defconfig && make -j $(nproc) 檢查 ./scripts/checkpatch.pl --patch 使用 sparse -> make C=1 LKML 上提交 patch Generate patch Generate patch git format-patch HEAD~ With versioning git format-patch -v3 HEAD^ Apply patch git am [patch filename] Setup email using gmail on Ubuntu sudo apt install git git-email Get app password from here Edit ~/....

June 17, 2024 · 1 min · 145 words · Chun-Hung Tseng