Received: by 2002:a05:6504:5087:b0:1e5:d399:13c4 with SMTP id i7csp13429ltq; Mon, 3 Oct 2022 23:28:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7N8bC7E6HkiT4nW9KAL4isJ6CHYCHg+dSK3CjoMDA20GjZRiaUzhAodW24zcjLLPj2kXX8 X-Received: by 2002:a17:907:724b:b0:782:f2bb:24d3 with SMTP id ds11-20020a170907724b00b00782f2bb24d3mr17823004ejc.555.1664864880825; Mon, 03 Oct 2022 23:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664864880; cv=none; d=google.com; s=arc-20160816; b=XhlOFOBxXyOBCApFiKn2dvPlDBM9Y/ZUETDgtt1yx5uT1XLRmRYef6YiZNllN7C5jU /5/QWJ017xZe/DxLbVplfNkL73b3vSXjWSKwm+IiccTwbN2xpwawkPZGgFjrBKkMhNM+ RtabR+x7KVOFhNmn8YwGVQGrYhz0l4SyFMmvcg78wym3vrPbYr47po94HZGmvLGef9mh XAbzUM0biRUI27wxZzJnh6VfZx75EgVIGBNW59QB3d1FU7AFV0FjepU6Cm1LqK3eGOkk 6Jq6DRm/0Auy2z9WMLYLJW9tU7LhEJG57eIPS8Lojnl0nsGelAWlceiu7ZrNsGBqEwGb Wxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=t4q8lai+pgbdIWCbTWO30jzr/PEltkCTd+99/cMNAbg=; b=U69ckZjIqrplk5ILrEEkHxKePYiD0L5Yv4TbGET5nq4p+yzTDfYRCmtHdz+S+zgOcd e6m/RjFRfWE27GXZ1gUqaEDCwHk9Nr3tNJalP9I5MdSryPkCNcgYrQw89iMRN4UIQVUD Z2ImU/btMDvL9FfLv6Nbu5BJIabXSq0oOX+Igyy6YY5STa9ZbfaIqrSOcHAGmSyPLVqN gLalZOhIYd7baHXeAuxatYTNY8y1mqnLNaxqrSjbENF2Rr/E29VPHvnfT5Ais3eUDaie rrs7a5QlGbOh5AShjcjMNzds/VsMicelL7VsLcGIoSgZfJF2/TMBpn1t2H4vFV+hdcfH 0yFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ViUYzN7h; dkim=neutral (no key) header.i=@suse.de; 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=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw17-20020a1709066a1100b00779b815b8d9si11144970ejc.497.2022.10.03.23.27.35; Mon, 03 Oct 2022 23:28:00 -0700 (PDT) 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.de header.s=susede2_rsa header.b=ViUYzN7h; dkim=neutral (no key) header.i=@suse.de; 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=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbiJDFuA (ORCPT + 99 others); Tue, 4 Oct 2022 01:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbiJDFt6 (ORCPT ); Tue, 4 Oct 2022 01:49:58 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8022113EA9; Mon, 3 Oct 2022 22:49:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CEA041F8F7; Tue, 4 Oct 2022 05:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664862595; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t4q8lai+pgbdIWCbTWO30jzr/PEltkCTd+99/cMNAbg=; b=ViUYzN7hxfeadKe9mrU3g92ix2FEYcYpqmuEKWR9lWvaRwQJTBQNnyUrk6wDXjMwxXZKiY kBx7phm9dT3gQyFhjy1H9ya6sWTrn+NFMX5mG7Pl2XZXUMxmZD93A7HjQVCefsMQ3MmUMc slEcOdftt/C5eVXI0YziCD/DBmicUZw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664862595; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t4q8lai+pgbdIWCbTWO30jzr/PEltkCTd+99/cMNAbg=; b=xqzWHiZ6WqM6ArkgxwHqZu0mwUEbvgBtTaEF3spnOuO2AuBnQqyUxp4j7DWa8SgV3cOydW afqjpc5PreeiGWDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 9212113A8F; Tue, 4 Oct 2022 05:49:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 1lvyIoPJO2MKDQAAMHmgww (envelope-from ); Tue, 04 Oct 2022 05:49:55 +0000 Message-ID: Date: Tue, 4 Oct 2022 07:49:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 2/6] scsi: hisi_sas: Use sas_task_find_rq() Content-Language: en-US To: John Garry , jejb@linux.ibm.com, martin.petersen@oracle.com, jinpu.wang@cloud.ionos.com, damien.lemoal@wdc.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, ipylypiv@google.com, changyuanl@google.com, hch@lst.de, yanaijie@huawei.com References: <1664528184-162714-1-git-send-email-john.garry@huawei.com> <1664528184-162714-3-git-send-email-john.garry@huawei.com> From: Hannes Reinecke In-Reply-To: <1664528184-162714-3-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 9/30/22 10:56, John Garry wrote: > Use sas_task_find_rq() to lookup the request per task for its driver tag. > > Signed-off-by: John Garry > Reviewed-by: Damien Le Moal > --- > drivers/scsi/hisi_sas/hisi_sas_main.c | 26 ++++++++------------------ > 1 file changed, 8 insertions(+), 18 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman