1)文件末尾的空行需要清一下
Applying: net: spnic: initial commit the common module of Ramaxel NIC driver .git/rebase-apply/patch:184: new blank line at EOF. + .git/rebase-apply/patch:3405: new blank line at EOF. + .git/rebase-apply/patch:3607: new blank line at EOF. + .git/rebase-apply/patch:8880: new blank line at EOF. + .git/rebase-apply/patch:9213: new blank line at EOF. + warning: squelched 1 whitespace error warning: 6 lines add whitespace errors.
2)是否改成SPHW_HW_COMM_H会更好? +++ b/drivers/net/ethernet/ramaxel/spnic/hw/sphw_hw_comm.h +#ifndef SPHW_COMM_H