diff options
author | Vincenzo Palazzo <vincenzopalazzodev@gmail.com> | 2023-03-02 14:21:07 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-04-07 00:53:40 +0200 |
commit | 1c5f054f0b12875096e339861c7f44a7c952ce56 (patch) | |
tree | 8efc5b54a917e37bd8670937f55385c18c4959c6 /rust | |
parent | 5c7548d5a25306dcdb97689479be81cacc8ce596 (diff) |
rust: build: Fix grep warning
Fix grep warning during the build, with GNU grep 3.8
with the following command
`grep -v '^\#\|^$$' rust/bindgen_parameters`
I see the following warning
```
grep: warning: stray \ before #
--opaque-type xregs_state
--opaque-type desc_struct
--opaque-type arch_lbr_state
--opaque-type local_apic
--opaque-type x86_msi_data
--opaque-type x86_msi_addr_lo
--opaque-type kunit_try_catch
--opaque-type spinlock
--no-doc-comments
```
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Tested-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r-- | rust/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/Makefile b/rust/Makefile index f88d108fbef0..41ac8401a8be 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -283,7 +283,7 @@ quiet_cmd_bindgen = BINDGEN $@ $(bindgen_target_cflags) $(bindgen_target_extra) $(obj)/bindings/bindings_generated.rs: private bindgen_target_flags = \ - $(shell grep -v '^\#\|^$$' $(srctree)/$(src)/bindgen_parameters) + $(shell grep -v '^#\|^$$' $(srctree)/$(src)/bindgen_parameters) $(obj)/bindings/bindings_generated.rs: $(src)/bindings/bindings_helper.h \ $(src)/bindgen_parameters FORCE $(call if_changed_dep,bindgen) |