Received: by 10.223.185.116 with SMTP id b49csp5658179wrg; Wed, 7 Mar 2018 16:01:20 -0800 (PST) X-Google-Smtp-Source: AG47ELt2AvUEPEygo9aOrfqhPrX5y4HX8sRv/SQ5E382Gp1k3FP/s2aQ/Z/L6Lu4mDqWzoUaKJVP X-Received: by 10.99.171.70 with SMTP id k6mr19953185pgp.355.1520467280229; Wed, 07 Mar 2018 16:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520467280; cv=none; d=google.com; s=arc-20160816; b=F0660oo14B8OOvYeOpoecq+6y9vgJuT992gcn8j8d+xzG6X3DXQ+Mgnx2XFhGYmBvR 3hZ8UVBt1Enf1eVtEOOa24MJ7DUOUKoR93j/4/1VG4cXNI+SfKWRsKuw4xndm9aD/sNg +PNXVzvMaR7pONTIGFc/Azs6iSZIqd+QLpEgzjkPjDsmW8EOEa3nf6nQBJKRcOcLYbjj Oy6BwCnJg3tDaKZGvYg9byWV2aDYpMzXildUIQWKVRhpbXpejtRtizVzrbR5oNCeuzSw RpcOhB2hMfDoiazqMCAOUICL+ag/DODLu0PMIRguf8OYLqbRO0rKEk3WwqOMgflSL57q 8/fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=ugJsmp8FxGSd+rNVlst9jurr608H4TMjR0GYXOJ/6jE=; b=UrEzc2ubcJvxJaepipoSa9M1nqqmICAngPF5ciNRO/BSI87dgkDQcCaRoE1gO4zU0u Jkfpd7QAE1jhabgubLgg9/u3OYdHT5uCiXOv9HfIXSDnvT+jxRyudpfaE8BnpHunvLI+ c2C3+7egfaSe2qEsN/UfVQ7xkzZpPJMiZStpITcYI20CArfcPjUvF3yDpGIIkABxErPL FcrT72MoSMEfM9i2Y4JIs6EiUr9Q4I3rv05CPzlH+R1JX/Fz1Fj9UKKEoW6yi6rYhgSA sgIcZdFERrE0WuolVXysU8nx0VkNVUDQsub01tBhU60rJVfBDbH8d8hVXXhBNT0o1Bi0 3T3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si6392335pfa.383.2018.03.07.16.01.05; Wed, 07 Mar 2018 16:01:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755203AbeCGX7Q (ORCPT + 99 others); Wed, 7 Mar 2018 18:59:16 -0500 Received: from mx-rz-3.rrze.uni-erlangen.de ([131.188.11.22]:60345 "EHLO mx-rz-3.rrze.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754994AbeCGX7O (ORCPT ); Wed, 7 Mar 2018 18:59:14 -0500 Received: from mx-rz-3.rrze.uni-erlangen.de (mx-rz-3.rrze.uni-erlangen.de [IPv6:2001:638:a000:1025::16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx-rz-3.rrze.uni-erlangen.de (Postfix) with ESMTPS id 3zxVww1wqSz1yRB; Thu, 8 Mar 2018 00:59:12 +0100 (CET) Authentication-Results: mx-rz-3.rrze.uni-erlangen.de; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Virus-Scanned: amavisd-new at boeck4.rrze.uni-erlangen.de (RRZE) X-RRZE-Flag: Not-Spam X-RRZE-Submit-IP: 199.249.223.61 Received: from uni-erlangen.de (unknown [199.249.223.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: U2FsdGVkX19MW8A4S8gqv+c1BcmrQYstvwwFvXWG7Vs=) by smtp-auth.uni-erlangen.de (Postfix) with ESMTPSA id 3zxVwp31MTz1yHy; Thu, 8 Mar 2018 00:59:05 +0100 (CET) Date: Thu, 8 Mar 2018 00:58:52 +0100 From: Jonas Rabenstein To: Scott Bauer Cc: Jonas Rabenstein , Jonathan Derrick , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] block: sed-opal: fix u64 short atom length Message-ID: <20180307235836.lylfefpy6i44vqhz@studium.uni-erlangen.de> References: <1520379912.4178.83.camel@intel.com> <20180301132700.1279-1-jonas.rabenstein@studium.uni-erlangen.de> <20180307165556.2618-1-jonas.rabenstein@studium.uni-erlangen.de> <20180307232428.hv3zkcxldbu5w3tx@sbauer-Z170X-UD5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180307232428.hv3zkcxldbu5w3tx@sbauer-Z170X-UD5> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2018 at 04:24:29PM -0700, Scott Bauer wrote: > On Wed, Mar 07, 2018 at 05:55:56PM +0100, Jonas Rabenstein wrote: > > The length must be given as bytes and not as 4 bit tuples. > > > > Signed-off-by: Jonas Rabenstein > > --- > > v2: > > - use fls64 > > - shorten loop body > > --- > > block/sed-opal.c | 11 ++++------- > > 1 file changed, 4 insertions(+), 7 deletions(-) > > > > Reviewed-by: Scott Bauer > > Your two patches should be sent to stable for 4.14. I can queue those up and do it, > or if you want to you can do it as well. Let me know what you prefer! As I am quite new to all that kernel patch submitting stuff, I would be glad if you could do it for me so I will not mess it up (; Thanks, Jonas