Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp897059rdb; Fri, 19 Jan 2024 02:06:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IElKK6BSRgml6OadSM+y2HulPiwNuuNB1hHoI9+6wmOZ3AtRLIqMxm4zo8yOrNsyKTcSID3 X-Received: by 2002:a92:d05:0:b0:361:92e5:d05d with SMTP id 5-20020a920d05000000b0036192e5d05dmr2232858iln.20.1705658818600; Fri, 19 Jan 2024 02:06:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705658818; cv=pass; d=google.com; s=arc-20160816; b=SV6vGVRAN1qTIk2Yre6AJxdqHUH1lso/YIr+8bbgReW9aaUFadyh0gtDz7BAdsor2c 9HM/gQieer0+9NA6K1bwGWfBA7afzNuiffuFn2KvMDK0tzA99YFoUSuc6XdvsPusoCLz GX/t2xakIyAYyn0siHaAc2ijB+g69ugKvvMSfp11f2/FxrntzWZ36kR3vaFxOGkvcg3N +dqZ8FxcC1cnXMdo4AtSHnjEOCsAqo2DRhFXdbx2eedyZ3Q22D+yj+9lngmoGbfpRuzU PjNNh/JFpW5x5RfQbOkddGdwsnUGVlNGEPGEQ+YrDGfQ38JDQ9seDSMFa866nlNpThGU ZzKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=JUVTYE85Sfsj7CWo0SxC/xgNcdSQExhubg+BdCegwqw=; fh=ZVDuVuAXH8m/0cAFRTA0eOoiS4C7VGk0qK9Of+LB75Y=; b=vqyE57UiltMI7BRge48fnfJE0wAnZAx/8v+AnrmpydHnc6dKJl0k3qp/g67KkXJvQi eqo653BpGXDMSlHsbIoMbc6+BKUu3UkMXYTqM1Z8H6nXlXzJWG5F5MfIJcGZfzX375oA Qr7w9H2jzDMFjUK9e8zUJNIt0WT0RQtDpVjan9On0qWjvO4qxifLgyerX5ha6gcYVAa+ mzKiPB6EEwOJHsEjSqmXZyIjLT7OOuVKzr3j5ViDWvvZ+7dELaDjzHXUt3V6j7YqCPlz 4ywqt+rBmRDjWBs1FLMQbrK/tFg5PCifDhlG0uNKafBvRgr61q9IISYoRlj7Csimbw7D 7k9g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-30995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n17-20020a637211000000b005cf9e5945e0si3087428pgc.832.2024.01.19.02.06.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 02:06:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-30995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 35BB8280F68 for ; Fri, 19 Jan 2024 10:06:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB7843C47A; Fri, 19 Jan 2024 10:06:51 +0000 (UTC) Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (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 356AA24B2C; Fri, 19 Jan 2024 10:06:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705658811; cv=none; b=uw86kp3+U3hDxcqjzCdbKaYevxqzDJZqS8ilzNznEClP5Nc+QnQBXsD42J6yQ6ih0EpQsjOLHBMuUYwSci4KFcUcYIHxe9WkvJYz99vURJ8Vuv9QabPKo887QMlYREJgh17P59MZcwQMLiYBc7dESUdSL+6JcIyMpY1eNwlYpZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705658811; c=relaxed/simple; bh=VJCGQXobIs8lfUw5OJy3Sa1KNxoL542YxU2hIThA74g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PFBOYod3Dj1R+YjMSjrCLJFscyQgr/pgvxWuhOvdsUqUKzPiCTpC0TbLE+bgfDH4hgsTJ+KbBTP7s0zioP5nvvnDG1kK1uTGaaxidc47ZfXohEAYuqGb5gj8l5HdX057pVGWMygS+0qUswJYbVHfjVffgNF61te1kQhUny7+btI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; arc=none smtp.client-ip=115.124.30.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W-viZ4F_1705658797; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W-viZ4F_1705658797) by smtp.aliyun-inc.com; Fri, 19 Jan 2024 18:06:38 +0800 From: Yang Li To: ardb@kernel.org Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] efi/libstub: Add one kernel-doc comment Date: Fri, 19 Jan 2024 18:06:35 +0800 Message-Id: <20240119100635.12333-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the description of @memory_type to silence the warning: drivers/firmware/efi/libstub/alignedmem.c:27: warning: Function parameter or struct member 'memory_type' not described in 'efi_allocate_pages_aligned' Signed-off-by: Yang Li --- drivers/firmware/efi/libstub/alignedmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/efi/libstub/alignedmem.c b/drivers/firmware/efi/libstub/alignedmem.c index 6b83c492c3b8..8ff51c6a2aa1 100644 --- a/drivers/firmware/efi/libstub/alignedmem.c +++ b/drivers/firmware/efi/libstub/alignedmem.c @@ -14,6 +14,7 @@ * @max: the address that the last allocated memory page shall not * exceed * @align: minimum alignment of the base of the allocation + * @memory_type: the type of memory to allocate, as defined by efi_memory_type * * Allocate pages as EFI_LOADER_DATA. The allocated pages are aligned according * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will -- 2.20.1.7.g153144c