bpf, docs: Fix typos in instruction-set.rst
authorDave Thaler <dthaler1968@googlemail.com>
Wed, 21 Feb 2024 17:35:35 +0000 (09:35 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 22 Feb 2024 17:07:37 +0000 (09:07 -0800)
commitc1bb68f6b2f6be5297c5fbad5caebf67d0dd3034
tree35984a7f955038cff0e43701f069beb5a5adeb19
parent8425b6eb51460ef429920b2ee7e2b0881d4e23c5
bpf, docs: Fix typos in instruction-set.rst

* "BPF ADD" should be "BPF_ADD".
* "src" should be "src_reg" in several places.  The latter is the field name
  in the instruction.  The former refers to the value of the register, or the
  immediate.
* Add '' around field names in one sentence, for consistency with the rest
  of the document.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20240221173535.16601-1-dthaler1968@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/standardization/instruction-set.rst