Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1439014pxv; Fri, 16 Jul 2021 09:19:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbiTQMASvYLhYsej5FbeS7EjdEW6U8ZdEWbSxwyTkFkGICjXIe166AuVbG0j1JE9IG1bvT X-Received: by 2002:a92:2805:: with SMTP id l5mr7012368ilf.242.1626452389298; Fri, 16 Jul 2021 09:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626452389; cv=none; d=google.com; s=arc-20160816; b=YWEgF7A1t/FdnJ3U6fc42UhP5wJf/NIeJCn09OjKv14rvy3ulARRKAt29jRsMosggv yl+3mKX9qVqlY0SazkeBis6yDTzUk9FynL2KLAkzLM3mXSEO0Z1e/9qyKz5O7dhjitMw lki7IYfsFiQd/23XWNuC0iXzIMbo5aKd9Yac480LiCrlHepna96H5p1UvULherzKzvFQ dxtG8Ou8vhf34CpesJ75AT64/E1SlCJKyswf7lGGsJRnd66GDIYNrxZk5UAqxcnAJmb0 VfmqMC/Rj3ZeZQObs7g7J9ojqPrDHYT96QNvCEA/Hi4I2/PojBWtm40ImEnMyQnC2V9W WNvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+FRBPNtbmQyXk7bGeTCaGFjB43vahvQU3hWVpUayEe0=; b=DEXVEMaF0c81uW8pBSf+SrnFN+k9r+tsoLLXuMudvpT+NGD/xePfFxze2vP3ybXTvW 2IhJ8c5KFxg9ZpvnPf9AXWOQT5asl4Szbeo5sfJoC2uFXnRn2+C04PnWXIbTM35g7+OC PtVxYHOloiT52NY/20wM9vG52bahG0P0wBKWgJGhwl1/9YhfuwSS5b0SXUBCO/Qo7cO/ mykHb1ttsZvGmpcVrhnRxY+9xzwMvgqCdLBo7IPU5PYMOofw06rj3ImJzhpRCExGgs3A PjQ325QjHeXDnozVlNkz1ywJ1t4GY07d3SdTo99pO/nRxC8IjRrF7/AAX+rY56cJHuQl H7Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i50ltLmO; 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 j23si11662749iog.79.2021.07.16.09.19.36; Fri, 16 Jul 2021 09:19:49 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i50ltLmO; 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 S229691AbhGPQVu (ORCPT + 99 others); Fri, 16 Jul 2021 12:21:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:40380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbhGPQVu (ORCPT ); Fri, 16 Jul 2021 12:21:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1FB04613CC; Fri, 16 Jul 2021 16:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626452335; bh=WAk9IVAreIzP0iiUk08WueaWZP/KWWYlRc+hny6iQ9o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=i50ltLmOJvjao+LSejGpAfKJLiyIoC8QSamxCcuGE3u3oMMREfgRK2iON57lJdgIx 6ab5mhnhOsdGHUeH4YlyJUq/vaCXiuE7AGrV+30y21kUFUXdrTrX9sZYlcgt5Vwv9C UJqhnCu8AZF1p4l5vn4HZeQFcrVKDISvUOj+JN1IAWBNxHTaGQEgJkzIor+J/lVcVl s/FQvufZTIpzMuA9Y/WCbFIqv/ZtE2KlbbpMoPoP4evTL8aJwUyvD72cmZOveX1A5V U1qu/xZXv8DSMDiFDKPAD7c+FS2nQ2P/Pyrfv7O4lSf9ziRPTl69NDR1SGkS2mZFd4 AE+mmVWPQeWCw== Received: by mail-ot1-f41.google.com with SMTP id 59-20020a9d0ac10000b0290462f0ab0800so10380319otq.11; Fri, 16 Jul 2021 09:18:55 -0700 (PDT) X-Gm-Message-State: AOAM533JyF2bBrEKBEMwZwk5cNZ9V6PtjJ6NUmzO6f7m4/lm/zKzHbCK q0Iwi5fPdvhOTJOLL0di14yDWa8E/4zHTuKl/Gk= X-Received: by 2002:a05:6830:3494:: with SMTP id c20mr2354717otu.108.1626452334532; Fri, 16 Jul 2021 09:18:54 -0700 (PDT) MIME-Version: 1.0 References: <20210702191044.988401-1-atish.patra@wdc.com> In-Reply-To: <20210702191044.988401-1-atish.patra@wdc.com> From: Ard Biesheuvel Date: Fri, 16 Jul 2021 18:18:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi/libstub: Fix the efi_load_initrd function description To: Atish Patra Cc: Linux Kernel Mailing List , Arvind Sankar , linux-efi , Will Deacon , Heinrich Schuchardt Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Jul 2021 at 21:10, Atish Patra wrote: > > The soft_limit and hard_limit in the function efi_load_initrd describes > the preferred and max address of initrd loading location respectively. > However, the description wrongly describes it as the size of the > allocated memory. > > Fix the function description. > > Signed-off-by: Atish Patra Now queued up, thanks. > --- > drivers/firmware/efi/libstub/efi-stub-helper.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/firmware/efi/libstub/efi-stub-helper.c b/drivers/firmware/efi/libstub/efi-stub-helper.c > index aa8da0a49829..ae87dded989d 100644 > --- a/drivers/firmware/efi/libstub/efi-stub-helper.c > +++ b/drivers/firmware/efi/libstub/efi-stub-helper.c > @@ -630,8 +630,8 @@ efi_status_t efi_load_initrd_cmdline(efi_loaded_image_t *image, > * @image: EFI loaded image protocol > * @load_addr: pointer to loaded initrd > * @load_size: size of loaded initrd > - * @soft_limit: preferred size of allocated memory for loading the initrd > - * @hard_limit: minimum size of allocated memory > + * @soft_limit: preferred address for loading the initrd > + * @hard_limit: upper limit address for loading the initrd > * > * Return: status code > */ > -- > 2.31.1 >