Chinaunix首页 | 论坛 | 博客
  • 博客访问: 401568
  • 博文数量: 48
  • 博客积分: 764
  • 博客等级: 上士
  • 技术积分: 1133
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 13:29
文章分类

全部博文(48)

文章存档

2014年(5)

2013年(34)

2012年(9)

分类: LINUX

2013-07-01 22:02:57

Write and Submit your first Linux kernel Patch

墙外地址:
非严格对应的blog:
Documention/HOWTO, Codingstyle

git clone kernel source
git status
git branch
git checkout

make some changes
scripts/checkpatch.pl  --file --terse  drivers/md/dm-io.c
git diff
make M=drivers/md/
git commit -a
USB: otg: short summary
...

Signed-off by: Firo Yang

MAYBE:git commit --amend
git show --pretty=full

git format-patch master

scripts/checkpatch.pl 0001-Drivers-md-..
scripts/get_maintainer.pl
scripts/get_maintainer.pl --file

git send-mail --to ... --cc 0001-Drivers-md

git blame  ..file
git show comitcode897932832

阅读(2297) | 评论(1) | 转发(1) |
0

上一篇:内核中IS_ERR, ERR_PTR,PTR_ERR用法

下一篇:GDB

给主人留下些什么吧!~~