Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6355964rwb; Tue, 22 Nov 2022 12:09:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5jlq9Awia7TMrPvQBP/9X9BPnyxbMgnrl7hCv7Ne7eC2C+s4VIQzpUbrPCdLFi+cR/2IS1 X-Received: by 2002:aa7:dbc7:0:b0:45f:b80f:1fe8 with SMTP id v7-20020aa7dbc7000000b0045fb80f1fe8mr21685186edt.118.1669147790142; Tue, 22 Nov 2022 12:09:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669147790; cv=pass; d=google.com; s=arc-20160816; b=x5Z4+a4JDZjCK8l2pgZdJZt/LXJH2X+x4OE0Dil0IUAk0+PhsgojwM8jCjZhqMgA0e vHNxEhOHkeTa3x0J6auOPBrH6g4uXT+wgBUcmfybelYUVw7EaRsSoMix/zT2aLE/rdb2 aiSOR9iSYf0Rpct/rOz0O8UYcVYb68ksS2/CX31VsGYvfjv34wE7QDnDJCZGPy8RwlRE NnWh4Lj4Jz2s68DUn+duj4Y/ihrVMJAI3/hY3UiPUvQNtU1FBuIQcFs8Nq7zfnbok6gy u4xqSEn+8Dn+3CgbheBm2XDVAbVIQPNlNQjvKF4KL+Dbg86v6sQwyd721M/BuRdr9zHm 05lA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=Kx+mxFc8tMps54NrXNJFahpJuYcHu5sZWJwcXG9GEIY=; b=ktVIPp/z/K0piqbYUg6UQZ86htknPYofU9UZdrF8NunxC9FG3m7O/kVEB2pBgjg+Yr G5FNYoS93ma3qIlIaIbwLHDp7tqVm5Oe1zEjnwSXSQWbTjVgbpNYY3Q9vOjD1NppEUOK rdDaIuRm8WVgiuCZBMRs0YBVFGL1Rwr/oSfXRYqXJNNWCkF9Ar+jzWLGcAN0pihycwds nQTFhDpXGDtfd+P8Vc1023dynM/dX0sA+6QHaFFXzAleKukd0PKw2qWYWLoLrvvluQRY Y+NjtMhEzd3HKPeCAkSI23pXGT+KQeUI7YUdfeUJXObInOhi5Sfpa0cVWTEfKZ8OO191 gJHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=xy6t7tfj; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ty13-20020a170907c70d00b007ae87dde2c7si10407420ejc.830.2022.11.22.12.09.27; Tue, 22 Nov 2022 12:09:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=xy6t7tfj; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234422AbiKVTx0 (ORCPT + 90 others); Tue, 22 Nov 2022 14:53:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbiKVTxW (ORCPT ); Tue, 22 Nov 2022 14:53:22 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2076.outbound.protection.outlook.com [40.107.21.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 056EE7EBF9; Tue, 22 Nov 2022 11:53:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mS7IfP9tzpiZ85MXlWkHz99OP/QnZxbfeIA+B7PfSUQHae0qkslwMoLea1t/dm5d138/a0APEaesTjxNW/6H+NXrVb24vCcJ6nvdK1hiXvqU/Xgk49D+Zo2Db+/rz2T8QF0MvRrDM9EXjp79H6fPPuwWG3Gy3/UyZzDpKhKOc3EfbSOTR4bfU02Jhmd3APFpQ8qB5RE3dibRGxhLv9C8b+k6s2D0ToMCEbZfpq2/U/YTpZap42JbGAEUtAXOoNeqxKLqtRCl2FoMKaDrySszXxI3so02GS3mt+/uVehgQ7mNDIB2q9UlguDwFTb6XXCMwwU8LDJOKrp1R4uguX0Hdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Kx+mxFc8tMps54NrXNJFahpJuYcHu5sZWJwcXG9GEIY=; b=fA5kGl5XmYC/ZHv3lypq5KB7XJ5RqzIjBuiqQQ+yI3O8XtofNWxASmH8ZDXB0/LGWys+X2Pp0ogup97lDQc3Bi2Zz0ra9mO6rugg2HWctxY9M3D0DqPZ0j025CB4D3ZO+WEv6FthvlbAxdvYMUNxpiClppuD2RBs4tl5DRQfL+7jGIXcYX3kZfIS5JGKeVea8XtPpVA7cJYUIS63mn+sRy9AWH/DZyDKzXqseu7TFnIioufMehU0g/nMsMaj6RP/7Wi1nLurGcNvU2vuunC/roMZkUKzzTkyIFMf0iYe9XtSJ352QlKWOVsrd0WdhMJXOOzy1PIgqaVcwnZoBeEG8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kx+mxFc8tMps54NrXNJFahpJuYcHu5sZWJwcXG9GEIY=; b=xy6t7tfjfIh8Ow37YJB1Y3S02eYXD03w4eVsQV71sC3Rf83g/z0LD7kViaowwKbGY36nfAeZdIRJi1psLqqHUeslyo6YobkH65FdGf87NsFmbo4AUhvwHdorXI67UfC+l7f5+SuS1xMTqw6wJx5U9Q5jBFqQch5jKjZnJNFX8PuwixJAsC0LhS/yzt0b/TPXZFpNUNI9QPDGVJL6/Ib+rFLH594kEeYZSRVsmGhFMlDh/R8dP5IJhvUXt/GufpiB31sti/re1UlzzinuY2Rq1wDLmL7wzndpWP80N2NpB80hU+sDBvqhapd0tY1km2MDmmtrtwxT6OTRoNy4vyzKiA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from AM5PR04MB3089.eurprd04.prod.outlook.com (2603:10a6:206:b::28) by PAXPR04MB8751.eurprd04.prod.outlook.com (2603:10a6:102:20d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Tue, 22 Nov 2022 19:53:15 +0000 Received: from AM5PR04MB3089.eurprd04.prod.outlook.com ([fe80::88c9:1477:70d9:86e9]) by AM5PR04MB3089.eurprd04.prod.outlook.com ([fe80::88c9:1477:70d9:86e9%5]) with mapi id 15.20.5834.015; Tue, 22 Nov 2022 19:53:14 +0000 Message-ID: <47aa31e2-b49e-739e-dcf8-b91d1becbb73@suse.com> Date: Tue, 22 Nov 2022 11:53:09 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] scsi:iscsi: rename iscsi_set_param to iscsi_if_set_param To: Wenchao Hao , Chris Leech , Mike Christie , "James E . J . Bottomley" , "Martin K . Petersen" , open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, liuzhiqiang26@huawei.com, linfeilong@huawei.com References: <20221122181105.4123935-1-haowenchao@huawei.com> Content-Language: en-US From: Lee Duncan In-Reply-To: <20221122181105.4123935-1-haowenchao@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0168.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::20) To AM5PR04MB3089.eurprd04.prod.outlook.com (2603:10a6:206:b::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM5PR04MB3089:EE_|PAXPR04MB8751:EE_ X-MS-Office365-Filtering-Correlation-Id: 287d825e-2783-4a9c-85a0-08daccc33163 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QHJcH0Obl9GrORpmuLDqkC7u1c7kkYgzG9RYTvbK/8emqCHFW3QOTDlqJX3uVbMPT6tXXX6THOM7/V+IxKYNNEXny/+2Tq5k6+QnAnJd5djjnkKMLtsdn/FVSAhv2hbI8NpgLuihQ60w4av6XoTdDQ/D0FUZJWOOZDSrL5igkdOVBFWuLn8clD7DRpzHlZRKRN24E2ypTbeH/8zHpEYJXhAZRSfvFha0eWiJdkJ1jjd1gv7K4w9X7P9Bx9dclfSa3yK0I+kxuM/tVXdnQUOnEijQUPTqiCgZYUs+jNd2jMgJxxqrCJOZBhDkXYRSLwx5TUC5o4J+Dzwb2kcM+gVCKbn2BG5k5whKtZZpoDnXH5r8h35m7o6krbRG3ZO3UIVAdYx/RmUs7zlwgDzqWQPMH5LZrGAtTsykx373cR/cTa7+9olRrZQVtaqWJ02crQnKI8xsrMlYeB/W1Vc/DDZNPn0d8toQI4rUPppMuULzx2Sip/sjY6N51ejkinAzg9Xz3q/97NXwnQ+q4UWcC8nG/aIFFdRifnKhbsJ+JdSqPaavflG5x/sdbNZW9hsNoUyGRU6ZLI/h14QW/PjEHNhitJa+ARfRrNjaoXPXAPVv53lMnh6iNMnXa26fp9XLJDQVTSA81NlS2LYWXMwnwdinry2/0Rm++4Q6mAT/0dQ/c0eCDAA4nZ5E7SP9KrJBhLTLWIsLTxskPsZQqMSHhO1krfoLFu2JxWaFctP4VaDevF4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM5PR04MB3089.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(366004)(376002)(346002)(39860400002)(396003)(451199015)(36756003)(31686004)(66476007)(38100700002)(41300700001)(31696002)(2906002)(86362001)(83380400001)(6486002)(316002)(66946007)(8676002)(66556008)(4326008)(6512007)(110136005)(26005)(186003)(7416002)(478600001)(8936002)(5660300002)(6506007)(2616005)(53546011)(6666004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WWNVVnBRUmkrS0tlZ3Axa1dVU1RsQzRyb2lybzV4YkFUYVo2bFlGU0FnRXRn?= =?utf-8?B?UmwyNkgwMjJ5cW1JQzRjMkNUZ3NYQ1JaRzNZaCsySkROSGMvbmRDSHhNcm15?= =?utf-8?B?enR4VXhMWno2ZEUzV1B4SmFpQWNjSXlEQ1JwdFZFV0JuUi9scWRvVDNzRmFC?= =?utf-8?B?T3c5RkV3OGVHaWV2UXErYytZam9OZG1JZTNPS0NOUDBFZWlueTJYT0s0akFs?= =?utf-8?B?c3VtUXFYdVlDRXRPc1dWbHJPdFRzQzJFRmR4ZHlz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haXFpWEtObG1BVWxITC94TitKZFZGM3Z4R3lqVUpyb1Z2?= =?utf-8?Q?OUdKQSLIO73Kxlzz3mPEx3L+q?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 287d825e-2783-4a9c-85a0-08daccc33163 X-MS-Exchange-CrossTenant-AuthSource: AM5PR04MB3089.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2022 19:53:14.7828 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4zkOt6SIxhqJvpDdwCVE+fxVNr49eIAybn0nzL3lvk4TcUfC0GJ9ZCydPXq2Zzdw6jBrI7/hKGbhC/BnCioPpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8751 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/22/22 10:11, Wenchao Hao wrote: > There are two iscsi_set_param() functions individually defined > in libiscsi.c and scsi_transport_iscsi.c which is confused. > > So rename the one in scsi_transport_iscsi.c to iscsi_if_set_param(). > > Signed-off-by: Wenchao Hao > --- > drivers/scsi/scsi_transport_iscsi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c > index cd3db9684e52..c3fe5ecfee59 100644 > --- a/drivers/scsi/scsi_transport_iscsi.c > +++ b/drivers/scsi/scsi_transport_iscsi.c > @@ -2988,7 +2988,7 @@ iscsi_if_destroy_conn(struct iscsi_transport *transport, struct iscsi_uevent *ev > } > > static int > -iscsi_set_param(struct iscsi_transport *transport, struct iscsi_uevent *ev) > +iscsi_if_set_param(struct iscsi_transport *transport, struct iscsi_uevent *ev) > { > char *data = (char*)ev + sizeof(*ev); > struct iscsi_cls_conn *conn; > @@ -3941,7 +3941,7 @@ iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group) > err = -EINVAL; > break; > case ISCSI_UEVENT_SET_PARAM: > - err = iscsi_set_param(transport, ev); > + err = iscsi_if_set_param(transport, ev); > break; > case ISCSI_UEVENT_CREATE_CONN: > case ISCSI_UEVENT_DESTROY_CONN: Reviewed-by: Lee Duncan