linux: ensure bytes are valid before patching
We use sed to replace original bytes by patched ones, but unfortunately sed doesn't report any errors when this substitution fails. Now, before actually running sed, we check if these bytes that are soon to be replaced, actually exist in the driver file.
Showing
Please register or sign in to comment