Re: [Bpf] [PATCH] bpf, docs: fix BPF_NEG entry in instruction-set.rst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> -----Original Message-----
>> From: Jose E. Marchesi <jose.marchesi@xxxxxxxxxx>
>> Sent: Wednesday, July 26, 2023 2:26 AM
>> To: bpf@xxxxxxxxxxxxxxx
>> Subject: [PATCH] bpf, docs: fix BPF_NEG entry in instruction-set.rst
>> 
>> This patch fixes the documentation of the BPF_NEG instruction to denote
>> that it does not use the source register operand.
>> 
>> Signed-off-by: Jose E. Marchesi <jose.marchesi@xxxxxxxxxx>
>> ---
>>  Documentation/bpf/standardization/instruction-set.rst | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/Documentation/bpf/standardization/instruction-set.rst
>> b/Documentation/bpf/standardization/instruction-set.rst
>> index 751e657973f0..6ef5534b410a 100644
>> --- a/Documentation/bpf/standardization/instruction-set.rst
>> +++ b/Documentation/bpf/standardization/instruction-set.rst
>> @@ -165,7 +165,7 @@ BPF_OR    0x40   dst \|= src
>>  BPF_AND   0x50   dst &= src
>>  BPF_LSH   0x60   dst <<= (src & mask)
>>  BPF_RSH   0x70   dst >>= (src & mask)
>> -BPF_NEG   0x80   dst = -src
>> +BPF_NEG   0x80   dst = -dst
>>  BPF_MOD   0x90   dst = (src != 0) ? (dst % src) : dst
>>  BPF_XOR   0xa0   dst ^= src
>>  BPF_MOV   0xb0   dst = src
>> --
>> 2.30.2
>
> Acked-by: Dave Thaler <dthaler@xxxxxxxxxxxxx>
>
> Also, all changes to files in the standardization directory should also be cc'ed
> to bpf@xxxxxxxx, which I am doing on this email.

Will do in future posts.  Thanks for CCing.

> Dave




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux