.. | .. |
---|
96 | 96 | * @data: Buffer to store reply payload in |
---|
97 | 97 | * @code: Expected reply code |
---|
98 | 98 | * @ackid: Expected reply ACK ID |
---|
99 | | - * @completion: Successful reply reception completion |
---|
| 99 | + * @received: Successful reply reception completion |
---|
100 | 100 | */ |
---|
101 | 101 | struct rave_sp_reply { |
---|
102 | 102 | size_t length; |
---|
.. | .. |
---|
109 | 109 | /** |
---|
110 | 110 | * struct rave_sp_checksum - Variant specific checksum implementation details |
---|
111 | 111 | * |
---|
112 | | - * @length: Caculated checksum length |
---|
| 112 | + * @length: Calculated checksum length |
---|
113 | 113 | * @subroutine: Utilized checksum algorithm implementation |
---|
114 | 114 | */ |
---|
115 | 115 | struct rave_sp_checksum { |
---|
.. | .. |
---|
270 | 270 | case RAVE_SP_ETX: |
---|
271 | 271 | case RAVE_SP_DLE: |
---|
272 | 272 | *dest++ = RAVE_SP_DLE; |
---|
273 | | - /* FALLTHROUGH */ |
---|
| 273 | + fallthrough; |
---|
274 | 274 | default: |
---|
275 | 275 | *dest++ = byte; |
---|
276 | 276 | } |
---|
.. | .. |
---|
541 | 541 | * deframer buffer |
---|
542 | 542 | */ |
---|
543 | 543 | |
---|
544 | | - /* FALLTHROUGH */ |
---|
| 544 | + fallthrough; |
---|
545 | 545 | |
---|
546 | 546 | case RAVE_SP_EXPECT_ESCAPED_DATA: |
---|
547 | 547 | if (deframer->length == sizeof(deframer->data)) { |
---|