From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 134A33FFE for ; Sat, 21 Oct 2023 10:21:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wlOdTiTJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36119C433C8; Sat, 21 Oct 2023 10:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697883716; bh=oyimhO7suVSvnWfKQSXAKUTFdnT5bdgyjfYlp1W2ZK8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wlOdTiTJis7AomBYjgLISv/Vzl6/PFKf2fu7XEIHlqbjOyUK5sOx2duXx0pSLFsX7 k5QUOhx+jTzgIwtRK9SSq2ueAFGdLLJOm3s+lrMuyIBpW1G/NbX/l4HYWdq1lG/o2c 2w2e7zm6ZS0Z6WLAtQspa7lP8GzIbNtpQ3YRNwwk= Date: Sat, 21 Oct 2023 12:21:53 +0200 From: Greg KH To: Milan Broz Cc: linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, linux-scsi@vger.kernel.org, stern@rowland.harvard.edu, oneukum@suse.com Subject: Re: [PATCH 5/7] usb-storage,uas: do not convert device_info for 64-bit platforms Message-ID: <2023102110-waviness-corny-7bd6@gregkh> References: <20231006125445.122380-1-gmazyland@gmail.com> <20231016072604.40179-1-gmazyland@gmail.com> <20231016072604.40179-6-gmazyland@gmail.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016072604.40179-6-gmazyland@gmail.com> On Mon, Oct 16, 2023 at 09:26:02AM +0200, Milan Broz wrote: > This patch optimizes the previous one for 64-bit platforms, What is "previous one"? We don't know that when we go and look at the changelog in the future. > where > unsigned long is 64-bit, so we do not need to convert quirk flags > to 32-bit index. > > Signed-off-by: Milan Broz Why not just do it properly the first time? You are fixing up a patch that you added, which should not be needed. thanks, greg k-h