| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright(c) 2007 Intel Corporation. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 6 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 11 | | - * more details. |
|---|
| 12 | | - * |
|---|
| 13 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 14 | | - * this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 15 | | - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 16 | 4 | * |
|---|
| 17 | 5 | * Maintained at www.Open-FCoE.org |
|---|
| 18 | 6 | */ |
|---|
| .. | .. |
|---|
| 417 | 405 | /** |
|---|
| 418 | 406 | * fc_lport_recv_echo_req() - Handle received ECHO request |
|---|
| 419 | 407 | * @lport: The local port receiving the ECHO |
|---|
| 420 | | - * @fp: ECHO request frame |
|---|
| 408 | + * @in_fp: ECHO request frame |
|---|
| 421 | 409 | */ |
|---|
| 422 | 410 | static void fc_lport_recv_echo_req(struct fc_lport *lport, |
|---|
| 423 | 411 | struct fc_frame *in_fp) |
|---|
| .. | .. |
|---|
| 452 | 440 | /** |
|---|
| 453 | 441 | * fc_lport_recv_rnid_req() - Handle received Request Node ID data request |
|---|
| 454 | 442 | * @lport: The local port receiving the RNID |
|---|
| 455 | | - * @fp: The RNID request frame |
|---|
| 443 | + * @in_fp: The RNID request frame |
|---|
| 456 | 444 | */ |
|---|
| 457 | 445 | static void fc_lport_recv_rnid_req(struct fc_lport *lport, |
|---|
| 458 | 446 | struct fc_frame *in_fp) |
|---|
| .. | .. |
|---|
| 1337 | 1325 | /** |
|---|
| 1338 | 1326 | * fc_lport_enter_ns() - register some object with the name server |
|---|
| 1339 | 1327 | * @lport: Fibre Channel local port to register |
|---|
| 1328 | + * @state: Local port state |
|---|
| 1340 | 1329 | */ |
|---|
| 1341 | 1330 | static void fc_lport_enter_ns(struct fc_lport *lport, enum fc_lport_state state) |
|---|
| 1342 | 1331 | { |
|---|
| .. | .. |
|---|
| 1435 | 1424 | /** |
|---|
| 1436 | 1425 | * fc_lport_enter_ms() - management server commands |
|---|
| 1437 | 1426 | * @lport: Fibre Channel local port to register |
|---|
| 1427 | + * @state: Local port state |
|---|
| 1438 | 1428 | */ |
|---|
| 1439 | 1429 | static void fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state) |
|---|
| 1440 | 1430 | { |
|---|
| .. | .. |
|---|
| 1588 | 1578 | case LPORT_ST_DPRT: |
|---|
| 1589 | 1579 | FC_LPORT_DBG(lport, "Skipping lport state %s to SCR\n", |
|---|
| 1590 | 1580 | fc_lport_state(lport)); |
|---|
| 1591 | | - /* fall thru */ |
|---|
| 1581 | + fallthrough; |
|---|
| 1592 | 1582 | case LPORT_ST_SCR: |
|---|
| 1593 | 1583 | fc_lport_enter_scr(lport); |
|---|
| 1594 | 1584 | break; |
|---|
| .. | .. |
|---|
| 1944 | 1934 | * @job: The BSG Passthrough job |
|---|
| 1945 | 1935 | * @lport: The local port sending the request |
|---|
| 1946 | 1936 | * @did: The destination port id |
|---|
| 1937 | + * @tov: The timeout period (in ms) |
|---|
| 1947 | 1938 | */ |
|---|
| 1948 | 1939 | static int fc_lport_els_request(struct bsg_job *job, |
|---|
| 1949 | 1940 | struct fc_lport *lport, |
|---|