Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp603675lql; Mon, 11 Mar 2024 11:39:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfX5vnWASgC7VKER/pgmC8qDg8KhKX8JT9Yj3DTykkTsjJOdLVOY3rrrTxnkI673mygs0YCIhB7jxwv2ROEyYMuaC0NNaUp11Rf72SFw== X-Google-Smtp-Source: AGHT+IEZSa4znatQmMcv8+aBDjMia9/MPXazlnQ4Qo8CvowDdUjXnanAPUssAQv0PumLPwSd37+9 X-Received: by 2002:a17:902:ced1:b0:1dd:9090:a35c with SMTP id d17-20020a170902ced100b001dd9090a35cmr5566802plg.9.1710182345580; Mon, 11 Mar 2024 11:39:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710182345; cv=pass; d=google.com; s=arc-20160816; b=ku1Mniel/mE83lcTLxeBSkygnAOGwTYLk/qMzErqKlzsM5D0RQvIloavv7grCJ4lCk d4tLfT1Rk8CFyfP/iJC64pqXaboT63Tqae2XWPBEAWanqz10CpWnaa4/EKD09J3Ym/RX EmTzQo4ldpwYGYkeiIYCxjJAOrPV7fUHC8S3YAVwYQZg49RUMYI53gGAfMLcm/PbjgfL krp0vsCDM+BJndBO3PN1LxZ9Z+oAUGlvb9YtHbyf2P3x2iqkL5+dXtqLyCL5zhBBQsVk Pjs3iZlBdgy6RbG6iWK63J6zVdApc5evDCj9o+T6LuX6tYCvrkrM4q6HHagUgKeMG7J4 he+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=GGP9dkOMn7NjqKnSGVDYA7uXq5GZEvq5XwnmvgikHwE=; fh=ss6nomEqfcDAeO0I6E8j0jRQDmmbubVW8/MMBR7DpzU=; b=0T6Hi+Ovd88sek2Oi5YdZlMfeSzOPUPoYnpE0kZhY/D/k8Pqm+vLJthJavhf/x1YYZ IGoNyQOf/vQDHWOTT6oyDdDHj1KtA34/0CK+/tF7TJJgq24+HydqaRsZwPWOFtnOiEOW uBR87OzqPj/NYDysu4KcPzJX06U6xS5Nr1DPd9YF6hyIYGDsYPw9iJKxOdW+LxtVXCkE LFuXjBUY0LWhqvudmzccfEl58YXTne5HT+N2eSop/buOfw9k0k8CaI9brXa10ChgqcN+ wenaFzolmmCeOhRkKkQ5sw76aUKKsBJXZUTR+ixTz1ihyvFgiPzuquk1dT1BkHFZ+VKK 9Tyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=yTvUHCex; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-99374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g17-20020a170902c99100b001dcf9785bc7si5039296plc.381.2024.03.11.11.39.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 11:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=yTvUHCex; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-99374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6D862B224E7 for ; Mon, 11 Mar 2024 18:37:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14B0456B64; Mon, 11 Mar 2024 18:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="yTvUHCex" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA81A56759; Mon, 11 Mar 2024 18:36:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710182180; cv=none; b=gBZKQ0m1baVXJEbB0z31LlBBnkEotZkVxyBI1pnTqj+r8+I+bizKDK3Cevv/Hrgtr04szsA9nxi9LExB7FDasioQNSb9i7Svekj0mIts9TAJgKdQ2Ai1OzkDePEPqO5sVcowi1+L7R3BHLKmDgABcmzOWr62xkrV1jB+wGGDPNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710182180; c=relaxed/simple; bh=GGP9dkOMn7NjqKnSGVDYA7uXq5GZEvq5XwnmvgikHwE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KOW3aJPdlZvIOmi9d/UA8Z8pzwQcOulT2hKJp4cSXOW1bCFLqXI42Fg6OqoCOEZeSnSqfhMEUn0RgvGmd0eorWaRq7j3tjZ0f8AoJJcfJ/LhBxqVyYrSQ88dRPc3inegI9CGfQ8dwP7X+gXmXvOeUawcrUXUvHTnl+PvlvAKtMw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=yTvUHCex; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4Ttlpp26jVzlgVnY; Mon, 11 Mar 2024 18:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1710182176; x=1712774177; bh=GGP9dkOMn7NjqKnSGVDYA7uX q5GZEvq5XwnmvgikHwE=; b=yTvUHCex4ZvpdYjwJJ3bW8Dv5DMfs+s/RKBMynBJ ymiedxpMzbBHYePXn0CGbe88sEUTqEqNj3MxVigAI8VbjrH/JXbfOoIlvAtuGiQ3 Fv10NMbIRCdAsqmvHwhMod0rK1vJ9sFtMCIBQahFTSFiFSW8bFevrhQi0opRk91Q BcV7UTmEGP4yU+Hadc2XfPxkZqZrtYxSZbdIhFfzj7KiG562NpgIZ8X+Orrr1PxT uEZNzsXI+wMKDCO4UQmOorT2SqM9HLUVZ+8Vborc1HJAWlSInCwOrVZpGT29MX0a LMp6mILCsSbAWnKzubviHcDpUN8b6c4MblnwJElnq3y9YQ== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id 6-a2RneE38P9; Mon, 11 Mar 2024 18:36:16 +0000 (UTC) Received: from [192.168.51.14] (c-73-231-117-72.hsd1.ca.comcast.net [73.231.117.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4Ttlpl6q2kzlgVnW; Mon, 11 Mar 2024 18:36:15 +0000 (UTC) Message-ID: Date: Mon, 11 Mar 2024 11:36:15 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/4] scsi: ufs: Re-use compose_devman_upiu Content-Language: en-US To: Avri Altman , "James E . J . Bottomley" , "Martin K . Petersen" Cc: Bean Huo , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240309081104.5006-1-avri.altman@wdc.com> <20240309081104.5006-5-avri.altman@wdc.com> From: Bart Van Assche In-Reply-To: <20240309081104.5006-5-avri.altman@wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/9/24 00:11, Avri Altman wrote: > Move some code fragments into ufshcd_prepare_req_desc_hdr so it can > be used throughout. Reviewed-by: Bart Van Assche