kernel: Patch file 0016-Add-driver-versions-for-ice-i40e-and-iavf.patch fails to apply
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Undecided
|
Alyson Deives Pereira |
Bug Description
Brief Description
When manually applying kernel patch files from kernel-std/patches and kernel-rt/patches into linux source tree, it fails on patch file 0016-Add-
Severity
--------
Provide the severity of the defect.
Minor: <System/Feature is usable with minor issue>
Somehow the build system ignores this error, but I dont know if it applied this patch or just ignored it.
Steps to Reproduce
------------------
- Git clone linux-yocto repo
- Git checkout to a7d960cfa075eb9
- Git am patches from 0001 to 0015
- $ git apply --reject <REPO_DIR>
Checking patch Makefile...
error: while searching for:
((c) > 255 ? 255 : (c)))'; \
echo \#define LINUX_VERSION_MAJOR $(VERSION); \
echo \#define LINUX_VERSION_
echo \#define LINUX_VERSION_
endef
ifneq ($(DISTRIBUTION
error: patch failed: Makefile:1249
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Checking patch drivers/
Applying patch Makefile with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Applied patch drivers/
Expected Behavior
------------------
Patch file should be applied
Actual Behavior
----------------
Patch file is not applied
Reproducibility
---------------
Reproducible
Test Activity
-------------
Developer Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Alyson Deives Pereira (adeivesp) |
Fix proposed to branch: f/kernel-6.6 /review. opendev. org/c/starlingx /kernel/ +/922146
Review: https:/