Download - 三分鐘送 first kernel patch (for 新手)
first kernel patch
(for )
Louie Lu
Louie Lu
Hope Bay Technologies, Inc.
(like me)
: http://static.ettoday.net/images/1979/d1979564.jpg, Lightning talk
20
https://i.ytimg.com/vi/7k5YeIqhips/hqdefault.jpg, Lightning talk
kernel
https://i.ytimg.com/vi/7k5YeIqhips/hqdefault.jpg, Lightning talk
gregkh/staging
The Linux Staging tree (or just "staging" from now on) is used
to hold stand-alone drivers and filesystems that are not ready to
be merged into the main portion of the Linux kernel tree at this
point in time for various technical reasons.
It is contained within the main Linux kernel tree so that users can
get access to the drivers much easier than before, and to provide a
common place for the development to happen, resolving the "hundreds
of different download sites" problem that most out-of-tree drivers
have had in the past.
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
find drivers/staging -name TODO
drivers/staging/
rts5208
for card reader
rts5208/
checkpatch.pl -f
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'#424: FILE: rtsx_scsi.c:424:+unsigned lun = SCSI_LUN(srb);
total: 0 errors, 1 warnings, 3543 lines checked
fixed warning
git commit
git format-patch -o /tmp HEAD~
get_maintainer.pl
mutt -H /path/to/patch
first kernel patch
https://kernelnewbies.org/FirstKernelPatch
http://pic.pimg.tw/gf50432/48b9170feddbc_n.jpg, Lightning talk
(like me)
goo.gl/jJpVeD
(p.s:...)
Object-oriented design patterns in the kernel, part 1 -Object-oriented design patterns in the kernel, part 2-
method dispatch and data inheritance