diff mbox series

[ovs-dev] ofp-msgs: Fix comment typo.

Message ID MEYP282MB34998F7216A4A919E99390D5CDD79@MEYP282MB3499.AUSP282.PROD.OUTLOOK.COM
State Accepted
Commit 5b06970e8eedd074dfa5a5405b8ada7435689fc8
Headers show
Series [ovs-dev] ofp-msgs: Fix comment typo. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/intel-ovs-compilation success test: success

Commit Message

miter May 24, 2022, 1:04 p.m. UTC
From: Lin Huang <linhuang@ruijie.com.cn>

Fix comment typo.

Signed-off-by: Lin Huang <linhuang@ruijie.com.cn>
---
 lib/ofp-msgs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Adrian Moreno Nov. 25, 2022, 5:26 p.m. UTC | #1
On 5/24/22 15:04, miterv@outlook.com wrote:
> From: Lin Huang <linhuang@ruijie.com.cn>
> 
> Fix comment typo.
> 
> Signed-off-by: Lin Huang <linhuang@ruijie.com.cn>
> ---
>   lib/ofp-msgs.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/ofp-msgs.c b/lib/ofp-msgs.c
> index 93aa81297..fdb898064 100644
> --- a/lib/ofp-msgs.c
> +++ b/lib/ofp-msgs.c
> @@ -148,7 +148,7 @@ struct raw_instance {
>   /* Information about a particular 'enum ofpraw'. */
>   struct raw_info {
>       /* All possible instantiations of this OFPRAW_* into OpenFlow headers. */
> -    struct raw_instance *instances; /* min_version - max_version + 1 elems. */
> +    struct raw_instance *instances; /* max_version - min_version + 1 elems. */
>       uint8_t min_version;
>       uint8_t max_version;
>   
> 

Good catch!
Acked-by: Adrian Moreno <amorenoz@redhat.com>
Ilya Maximets Nov. 30, 2022, 3:47 p.m. UTC | #2
On 11/25/22 18:26, Adrian Moreno wrote:
> 
> 
> On 5/24/22 15:04, miterv@outlook.com wrote:
>> From: Lin Huang <linhuang@ruijie.com.cn>
>>
>> Fix comment typo.
>>
>> Signed-off-by: Lin Huang <linhuang@ruijie.com.cn>
>> ---
>>   lib/ofp-msgs.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lib/ofp-msgs.c b/lib/ofp-msgs.c
>> index 93aa81297..fdb898064 100644
>> --- a/lib/ofp-msgs.c
>> +++ b/lib/ofp-msgs.c
>> @@ -148,7 +148,7 @@ struct raw_instance {
>>   /* Information about a particular 'enum ofpraw'. */
>>   struct raw_info {
>>       /* All possible instantiations of this OFPRAW_* into OpenFlow headers. */
>> -    struct raw_instance *instances; /* min_version - max_version + 1 elems. */
>> +    struct raw_instance *instances; /* max_version - min_version + 1 elems. */
>>       uint8_t min_version;
>>       uint8_t max_version;
>>  
> 
> Good catch!
> Acked-by: Adrian Moreno <amorenoz@redhat.com>

Applied.  Thanks!

Best regards, Ilya Maximets.
diff mbox series

Patch

diff --git a/lib/ofp-msgs.c b/lib/ofp-msgs.c
index 93aa81297..fdb898064 100644
--- a/lib/ofp-msgs.c
+++ b/lib/ofp-msgs.c
@@ -148,7 +148,7 @@  struct raw_instance {
 /* Information about a particular 'enum ofpraw'. */
 struct raw_info {
     /* All possible instantiations of this OFPRAW_* into OpenFlow headers. */
-    struct raw_instance *instances; /* min_version - max_version + 1 elems. */
+    struct raw_instance *instances; /* max_version - min_version + 1 elems. */
     uint8_t min_version;
     uint8_t max_version;