linux kernel generate patch and send patch script
1. how to use GeneratePatch.py?
First, write down commit msg.
commitmsg.info
Use min instead of doing it manually -> don't write prefix
Use min() to simplify code, there is no functional change.
Fixes: drivers/iio/poteionmeter/ad5272:73 -> write down what file and line you have changed
Signed-off-by: William Dean <[email protected]>
Second, modify code and don't execute 'git add' command
Third, run scrpit as follows:
python2 GeneratePatch.py -b // generate bugfix patch
python2 GeneratePatch.py // generate cleanup patch
2, how to use SendPathToCommunity.py?
just run:
python2 SendPathToCommunity.py <your_patch_file_name>
You need to run script at linux source code folder, and this will work well :)
and if you have any problem, you can add a issue or feel free to contact me.