hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/mfd/rave-sp.c
....@@ -96,7 +96,7 @@
9696 * @data: Buffer to store reply payload in
9797 * @code: Expected reply code
9898 * @ackid: Expected reply ACK ID
99
- * @completion: Successful reply reception completion
99
+ * @received: Successful reply reception completion
100100 */
101101 struct rave_sp_reply {
102102 size_t length;
....@@ -109,7 +109,7 @@
109109 /**
110110 * struct rave_sp_checksum - Variant specific checksum implementation details
111111 *
112
- * @length: Caculated checksum length
112
+ * @length: Calculated checksum length
113113 * @subroutine: Utilized checksum algorithm implementation
114114 */
115115 struct rave_sp_checksum {
....@@ -270,7 +270,7 @@
270270 case RAVE_SP_ETX:
271271 case RAVE_SP_DLE:
272272 *dest++ = RAVE_SP_DLE;
273
- /* FALLTHROUGH */
273
+ fallthrough;
274274 default:
275275 *dest++ = byte;
276276 }
....@@ -541,7 +541,7 @@
541541 * deframer buffer
542542 */
543543
544
- /* FALLTHROUGH */
544
+ fallthrough;
545545
546546 case RAVE_SP_EXPECT_ESCAPED_DATA:
547547 if (deframer->length == sizeof(deframer->data)) {