Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3484749pxj; Tue, 1 Jun 2021 06:27:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxplB6okSi2dIUt2SJjrwFDrj2en/0qL/+faRuq0uVXSywf48vvZegj1Y70e29zjzQ053bT X-Received: by 2002:a17:906:944a:: with SMTP id z10mr6078698ejx.224.1622554052416; Tue, 01 Jun 2021 06:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622554052; cv=none; d=google.com; s=arc-20160816; b=V5YxkiYDzGPPbUm5rSS1DKtnmNBeidy3xMNqReQPwE6sY8ei0Wvq4Y5D22O5mD2IDq 1mBIB3Zi3UbWglNS6hrP6OweqWFj5XVE/8MNHi03/8ugy5fxdQuP6Oy9GifhTxN3sdIO vN723I/L6iA+V7t31DoNbSdpCqGqD07uPaSe+wWuzdQB9ZlK4jKtKnl6bwAQgFHFOu3s 2Mtdn9ECrKibIzdVb5kM5xeNQ+oHZqkMEVcqcWmy2udiioSJBulGLx9Knw5uTw5VyM1O +P39cTwmQKdAtSkww1rqibr4ASnJBA7W6h++k9Cs5XbS9sCVW2NtlGRonG5NCXJku9+o 9ldw== 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 :mime-version:user-agent:date:message-id:from:references:to:subject; bh=h8VbcOfb3+RdW8LaQuUQw9dnmTWlit7uMfdLFgHeOVM=; b=MEncMFLB5jvDMZUDT1pLebYlc7C0R25uowyXNpVoTDU5keFTxlORyxFI3eFwGe80aJ 0qWR8WaVezXypLYR+5pJe36McZ3tcDVI2vv1CG5jk+AaIiDo/7txHYcgl4tf2GD1Gej8 iG+AQFsYakQDhRxl6iRqh4h/xZTYZJYk/Wz/pcWEGdjYgJyxlU82BkTP+Fa0gx8dDXv3 M+Qe9e5sO8gJEM3NfpgKT0XnPRT9TesTrzUJDtLYd0Vw/zoZDHgRNzOUoQSletHOHDhy By04T67QuSaBSOEIQU8fSpoXBTt63oOOT35OTI2XfjNQZ6O0nN38wv4EEpxmeoqKtuEr jYDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si1958066edd.329.2021.06.01.06.27.06; Tue, 01 Jun 2021 06:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233900AbhFAN0F (ORCPT + 99 others); Tue, 1 Jun 2021 09:26:05 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:42956 "EHLO mail-wr1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233584AbhFAN0F (ORCPT ); Tue, 1 Jun 2021 09:26:05 -0400 Received: by mail-wr1-f54.google.com with SMTP id c5so3141699wrq.9 for ; Tue, 01 Jun 2021 06:24:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=h8VbcOfb3+RdW8LaQuUQw9dnmTWlit7uMfdLFgHeOVM=; b=q9cvIKZjY9L1nplc2xYtcwP3FTUMt/vK3E1Alp0yiKITRx9fVhleqQ2xPoFy73XkpP WIuIWWhWKWwdqd5SuQzJRZ91A4wHd5mBoUPbHNxUXGstBDdBXK64pzUjSFNoJuqqZxLp eLvAQX2cIaSQAOntAqh9TPAnzShAg3ALD+fBkx9z4a/obqSVZjjPlxUo/DoKYk8y5Ylo 4djXG9Mh6iXNz2CUWQoGdLPp9nbn/AJzA/rv+DIY6/oevZlT3qQGzsclcBofBppnxdX2 VgpYrzlyz2L8253IM8XtUlEABWJvZNqhBUUZV7yzlFUmuGPMvLs9Wnxy9Uh45cYt6Asz 6l2g== X-Gm-Message-State: AOAM531tlM1r4BQDWOgL37pEUVpqpzCDXn3e+vGQBPsaAwtHZHEE5g9F Tiz+dHwnTds81U5ru7Me6IGpPiEL4S+GBw== X-Received: by 2002:adf:a353:: with SMTP id d19mr12026623wrb.363.1622553862022; Tue, 01 Jun 2021 06:24:22 -0700 (PDT) Received: from Johanness-MBP.fritz.box ([2001:a62:141b:f301:fcc0:44c6:21e1:ed3]) by smtp.gmail.com with ESMTPSA id h46sm3647723wrh.44.2021.06.01.06.24.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Jun 2021 06:24:21 -0700 (PDT) Subject: Re: [PATCH 1/1] mcb: Use DEFINE_RES_MEM() to simplify code To: Zhen Lei , linux-kernel References: <20210601064038.9936-1-thunder.leizhen@huawei.com> From: Johannes Thumshirn Message-ID: Date: Tue, 1 Jun 2021 15:24:21 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210601064038.9936-1-thunder.leizhen@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 01.06.21 um 08:40 schrieb Zhen Lei: > The value of '.end' should be "start + size - 1". So the previous writing > should have omitted subtracted 1. > > Signed-off-by: Zhen Lei > --- Thanks applied