Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp375142rdb; Sat, 16 Dec 2023 11:50:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcSRv8T00DewxTvhQQ3WCm/z/mNJg11wmsOQFWbce+LvoMyf7d5feKhEi7If/PAvVGNHPR X-Received: by 2002:a05:6a20:8410:b0:18c:abeb:b0db with SMTP id c16-20020a056a20841000b0018cabebb0dbmr18864064pzd.49.1702756233764; Sat, 16 Dec 2023 11:50:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702756233; cv=none; d=google.com; s=arc-20160816; b=dVfRIoHTU4Ooiy0k0wcV0S62xGwTEiW38hZmKPS9jVHNJA+M0znj0ks0+lvbGeWbu8 m3I180XAkXNuuC1P/HQ6BiVJGBZcYgE4VgYS38D1luhI5CEB8Qp8mkeJI9w0QBDbI0Uf oY28qzrVRI1jHy/3x9mE8pCynlAZ8fXd7+AwlxiHLny2kUe8zfjncQxxbYtp6cZqFp4c RZIgkyjzK1Cpms+ZliRMRVDG32B+XnNC+CGCADcyVnophkWYBC8+inmzu+zl0lApfA++ GlZ8ypAcmZIMJbtTSbFYlpTp+pv44lKt/JFqJIjYq/PeApNSHKvxMVHsZR3IQszfPGY4 aRVw== ARC-Message-Signature: i=1; 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:dkim-signature; bh=8Gi4x3Inp2xxLyTPy1lJV9jnNXXCCUrVYWMh7677tSA=; fh=wjzWRtN/xYGnn82q+R9UnZJVTfNCDDfxOelQuv/78fU=; b=pAynDpnDrxqeiwzYf5zdBUdh/RfhaIG4YNF/nrhLrmvBNWvFu5Nk8Ypl7xV7CHxde+ 0MAqMmXtRFf8hax7NKyBXl1H3RQBd9hLiEtxSmIx5IrSaEmu3jAc6d1Z3NC+0w9B/bJQ TfKj9g0zkfoyLlsEow1nXR7JTSnW2bi9bHtNeHJoeFj0Y0SI9PSqPKp/lTdrOGH7XqFd CCKhpbuwzdwI3V5T0r4JghS8PYm4/wC5nStCuIv77ulUhSsJ3j7Z2P5NDUzER5Fk4ktr lAGKVfVp76c0KQdFCvCv8TWY5XsAFCB43IaGV0x1JVCBNmhK3xTd8snpqa8rDfgTkTpR iy1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n7WvxKfH; spf=pass (google.com: domain of linux-kernel+bounces-2351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2351-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f1-20020a6547c1000000b005bdbd1b52d4si14534592pgs.270.2023.12.16.11.50.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 11:50:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n7WvxKfH; spf=pass (google.com: domain of linux-kernel+bounces-2351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2351-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D083EB21EA9 for ; Sat, 16 Dec 2023 19:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD04A32C6C; Sat, 16 Dec 2023 19:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="n7WvxKfH" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 318FF321B9 for ; Sat, 16 Dec 2023 19:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=8Gi4x3Inp2xxLyTPy1lJV9jnNXXCCUrVYWMh7677tSA=; b=n7WvxKfH0MpM2VjSa9rOtaTbAu cnOVlkXGSRkE83w90MS9IvndZBoHQd+xan5z0Ac44AQWimTRq2hA/CWtLovV6FxG7/J/5/mBWH12f GrDXsxFb1Gvx6gHLCHDURtUAyyBzwpwWkXm4G6JGruJUlRbXynwNHpObsBOlSMCbsDZckGKMkU7hr hcG5phmB1QQ+uE+QEa5lOw19WzX63oIWMKbJzoplBIroz/YPDLfmgHAekDTXARs8ibIPRE59V3U9/ GttyjrkhjeUgJt/yzz1ZoTOhqN5PuCCAQo6mdA3wvF/PdtPeuFE7qwS8HXRP08Fh6pec0lyt03xKJ pSxYX2Ug==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEaft-006eQs-2C; Sat, 16 Dec 2023 19:50:13 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Subject: [PATCH] x86/insn-eval: fix function param name in get_eff_addr_sib() Date: Sat, 16 Dec 2023 11:50:13 -0800 Message-ID: <20231216195013.29117-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Change "regoff" to "base_offset" in 2 places in the kernel-doc comments to prevent warnings: insn-eval.c:1152: warning: Function parameter or member 'base_offset' not described in 'get_eff_addr_sib' insn-eval.c:1152: warning: Excess function parameter 'regoff' description in 'get_eff_addr_sib' Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org --- arch/x86/lib/insn-eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/arch/x86/lib/insn-eval.c b/arch/x86/lib/insn-eval.c --- a/arch/x86/lib/insn-eval.c +++ b/arch/x86/lib/insn-eval.c @@ -1129,15 +1129,15 @@ static int get_eff_addr_modrm_16(struct * get_eff_addr_sib() - Obtain referenced effective address via SIB * @insn: Instruction. Must be valid. * @regs: Register values as seen when entering kernel mode - * @regoff: Obtained operand offset, in pt_regs, associated with segment + * @base_offset: Obtained operand offset, in pt_regs, associated with segment * @eff_addr: Obtained effective address * * Obtain the effective address referenced by the SIB byte of @insn. After * identifying the registers involved in the indexed, register-indirect memory * reference, its value is obtained from the operands in @regs. The computed * address is stored @eff_addr. Also, the register operand that indicates the - * associated segment is stored in @regoff, this parameter can later be used to - * determine such segment. + * associated segment is stored in @base_offset; this parameter can later be + * used to determine such segment. * * Returns: *