| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SMBus 2.0 driver for AMD-8111 IO-Hub. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2002 Vojtech Pavlik |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation version 2. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 384 | 381 | if (status) |
|---|
| 385 | 382 | return status; |
|---|
| 386 | 383 | len = min_t(u8, len, I2C_SMBUS_BLOCK_MAX); |
|---|
| 387 | | - /* fall through */ |
|---|
| 384 | + fallthrough; |
|---|
| 388 | 385 | case I2C_SMBUS_I2C_BLOCK_DATA: |
|---|
| 389 | 386 | for (i = 0; i < len; i++) { |
|---|
| 390 | 387 | status = amd_ec_read(smbus, AMD_SMB_DATA + i, |
|---|