| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Aic94xx Task Management Functions |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2005 Adaptec, Inc. All rights reserved. |
|---|
| 5 | 6 | * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This file is licensed under GPLv2. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This file is part of the aic94xx driver. |
|---|
| 10 | | - * |
|---|
| 11 | | - * The aic94xx driver is free software; you can redistribute it and/or |
|---|
| 12 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 13 | | - * published by the Free Software Foundation; version 2 of the |
|---|
| 14 | | - * License. |
|---|
| 15 | | - * |
|---|
| 16 | | - * The aic94xx driver is distributed in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 19 | | - * General Public License for more details. |
|---|
| 20 | | - * |
|---|
| 21 | | - * You should have received a copy of the GNU General Public License |
|---|
| 22 | | - * along with the aic94xx driver; if not, write to the Free Software |
|---|
| 23 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 24 | | - * |
|---|
| 25 | 7 | */ |
|---|
| 26 | 8 | |
|---|
| 27 | 9 | #include <linux/spinlock.h> |
|---|
| .. | .. |
|---|
| 508 | 490 | switch (tcs.dl_opcode) { |
|---|
| 509 | 491 | default: |
|---|
| 510 | 492 | res = asd_clear_nexus(task); |
|---|
| 511 | | - /* fallthrough */ |
|---|
| 493 | + fallthrough; |
|---|
| 512 | 494 | case TC_NO_ERROR: |
|---|
| 513 | 495 | break; |
|---|
| 514 | 496 | /* The task hasn't been sent to the device xor |
|---|
| .. | .. |
|---|
| 691 | 673 | |
|---|
| 692 | 674 | /** |
|---|
| 693 | 675 | * asd_query_task -- send a QUERY TASK TMF to an I_T_L_Q nexus |
|---|
| 694 | | - * task: pointer to sas_task struct of interest |
|---|
| 676 | + * @task: pointer to sas_task struct of interest |
|---|
| 695 | 677 | * |
|---|
| 696 | 678 | * Returns: TMF_RESP_FUNC_COMPLETE if the task is not in the task set, |
|---|
| 697 | 679 | * or TMF_RESP_FUNC_SUCC if the task is in the task set. |
|---|