Received: by 10.223.185.116 with SMTP id b49csp5619524wrg; Wed, 7 Mar 2018 15:11:45 -0800 (PST) X-Google-Smtp-Source: AG47ELupEOvGF25Sr7XwFKqaauynL+xCb57TPfmfskKlrnlHtn9LEetcEtfWgVt5jDE82cJMaPLm X-Received: by 10.99.191.15 with SMTP id v15mr19423235pgf.396.1520464305035; Wed, 07 Mar 2018 15:11:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520464304; cv=none; d=google.com; s=arc-20160816; b=W1cfcDabot94q2hWhP2utTBpQ5lK+IErTv5FQmLFouSsxM/C6N4/hqoeY9SYe44Mjm mU8+EDj8PWURnijPYiUO0fz95upUDPT5XSyrWBnTqiPGFmQykB2vUK+5Y8gQHN5D2FsB vwWeFpkNlMUVlcyZxbN0ThERl91EfI8rJ5N0uOBiXENEUycXMDsGXEy9yHsmb8YLACMo ChlOuMFfiFDjNpK5LMVtDj6pJUxr8C6HL94s7cVlJ7MBsSyWX0kFbMmYPE870m8tCRE1 fWJ4c0sfFaDXmbNevWkT+mH+I3uzKadrL9QbMXdwd93U7mCNxpEyNO6WQHaHGhOUOSYQ vXWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=CxugJbDRtiMtvXEGapWQALNIJQTw7TYCNEEBTSvLt7g=; b=YClacLa9GDELECGYQyCLe8IwIhNFUfqB3vHn8i3OQ6T6CtWUqeEPc6WsSfWaudrC2p XBMuOHL+arC2h0Zb+2ZEU2aSlEWvhFpEZmrAgBf40J7l9kN4zp2/VVXSggaZUrkOlvt5 nSHP2CKRQI3oMMQqwMkYKcyaId2BpET6jQWd4ZPmomfrOnPNHoD18oxPTfoLM1OhRIYh kmo3iFaWOmuq2rgaef3aFSXeZgbTN4FDIKrFjCHxpya2WbAN4Ar4kRcVh8kDJpYknY6u gg2NqecO8gspR3ul3e57biKFSJaO020G8gohCP5nVsXUeWuUcoxje12NzS91TfGUoAOz os/w== 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 j9si14531194pfk.292.2018.03.07.15.11.29; Wed, 07 Mar 2018 15:11:44 -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 S1754771AbeCGXKh (ORCPT + 99 others); Wed, 7 Mar 2018 18:10:37 -0500 Received: from mga02.intel.com ([134.134.136.20]:16980 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754052AbeCGXKg (ORCPT ); Wed, 7 Mar 2018 18:10:36 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 15:10:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,437,1515484800"; d="scan'208";a="206369776" Received: from sbauer-z170x-ud5.lm.intel.com (HELO sbauer-Z170X-UD5) ([10.232.112.135]) by orsmga005.jf.intel.com with ESMTP; 07 Mar 2018 15:10:34 -0800 Date: Wed, 7 Mar 2018 15:45:36 -0700 From: Scott Bauer To: "Derrick, Jonathan" Cc: "jonas.rabenstein@studium.uni-erlangen.de" , "axboe@kernel.dk" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" Subject: Re: [PATCH][RESEND] block: sed-opal: fix response string extraction Message-ID: <20180307224535.g4qo2abw3vyyfxlp@sbauer-Z170X-UD5> References: <20180301132637.1230-1-jonas.rabenstein@studium.uni-erlangen.de> <1520382203.4178.87.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520382203.4178.87.camel@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 04:23:24PM -0800, Derrick, Jonathan wrote: > This looks correct. > > Adding my Ack unless Scott has objections > > Acked-by: Jonathan Derrick Reviewed-by: Scott Bauer Nice catch Jonas! Sorry you had to resend, my message filtering was a little too agressive and this slipped through the cracks, that has been remediated. > > On Thu, 2018-03-01 at 14:26 +0100, Jonas Rabenstein wrote: > > Tokens are prefixed by a variable length of bytes. If a bytestring is > > not stored in an tiny or short atom, we have to skip more than one > > byte > > in order to have the actual bytes not prefixed by the bytes > > describing > > the actual length of the string. > > > > Signed-off-by: Jonas Rabenstein > n.de> > > --- > > block/sed-opal.c | 26 +++++++++++++++++++++++--- > > 1 file changed, 23 insertions(+), 3 deletions(-)