Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp82484pxf; Tue, 30 Mar 2021 20:15:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsnUhLm14AH4WKCHRZkcdScTc/ixCNEfE6GbFot87seZLgN/u8ClCe+oRj/lyN6o90U4KW X-Received: by 2002:a17:907:104f:: with SMTP id oy15mr1311429ejb.252.1617160549552; Tue, 30 Mar 2021 20:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617160549; cv=none; d=google.com; s=arc-20160816; b=uvJ/NATrO6+v5M/lVJxJHjK7EQegG3cOXdVew2nopU9hqNPJ61yuCz0he3poSmsgXQ HZIEC1TCouoklib5vie2lIKKlp8pqhdjYLPCmiiRYwx/A/BL4yDQAOiUY+eMTJA7hTCR kOda2T7i3kqOQCsoL50c4TynyAUV4FMnaYAhZboKMyrcYjM2A9tqLXWGI4qzYdBfCJn4 4mTuCHSRDPWg+8frm4sIvApVcv4FtMcWUfdLN5K3ar9gF0lKJ1pyE+rOPJ9+nmoabnpr jWO4XkZM2YcpGoBOA3NVfwErxw7pj+lZtWr92t+6Wk2Fe1c6ximmeC+N8rYvMH+wseTK s+rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o2CBj8aFkD6HZJFT9cK5QMPP0MPRnNkZyzH7XW5FD4Y=; b=gNRNnHHaSZIOYlwSiSbdZlxGSCtc/BW0/qg6tIua/MrKURJmXXrNQhv2ya156kbZCc 7ycV8nuPol0qmpB/LkTgKjF7eafU4UW4W3eEbUJKCwceHJ+o4NCBbH2/51D0xY7e6GbM nf6dlLiokBdCPDMjqDbtKvp8zRifu9P6k7R1CueAuyRSgIIRymYKbnlzCzat/vDSR8FC P+I/4Fg3wHMlZgHG6P7XTXmhDBe9ttQQRd5uLSgF3cJcWGVC5HiMNe2AUUhlyoJOxWOF 9hr8C645lSn+xgI0D59gXIjyUqnAocu07VcmBXo5lfTLk2JNbm+ZwJT6GQyzgGLT2XCP w6Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aodshCd3; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si582185ejp.378.2021.03.30.20.15.26; Tue, 30 Mar 2021 20:15: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=@chromium.org header.s=google header.b=aodshCd3; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233601AbhCaDFv (ORCPT + 99 others); Tue, 30 Mar 2021 23:05:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233483AbhCaDFh (ORCPT ); Tue, 30 Mar 2021 23:05:37 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC4EC061574 for ; Tue, 30 Mar 2021 20:05:37 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id j25so13539645pfe.2 for ; Tue, 30 Mar 2021 20:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o2CBj8aFkD6HZJFT9cK5QMPP0MPRnNkZyzH7XW5FD4Y=; b=aodshCd3cBJ6QGDyNwsh1cvHY7aldXxAttajT3hnJA8ijnOej7tDTcgdYCDrMMI8nF pejO0XyMFDjqKGQxRR3hg00fYn8O5WXKT22TgsS3TJWlwHmlDXL5zIrFKx4saZIry6Rt DTi3rL87IolC7BYpIm2+RFY+bnYn833MPsgWs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o2CBj8aFkD6HZJFT9cK5QMPP0MPRnNkZyzH7XW5FD4Y=; b=RgpObTLq4I3dc+8zXlfF0VNI6/hji/zpWD/IbYluwZWYJidaCIcl61IOAkoMOba6yJ VEOAigitHrn4W0E7mVD2d0OhuQu0pDQHAXDl5xLNHmaooBYnXXbwP4XmfpY6zcQZ0DlL JGVbgF9FJwALuhl6uL6WV4xz06o6f62CQ6rdlyy4dH+3pl6AXMLpYwQwKlsgZTurKb2h PsXPwrHZSLu0taPvf3skb/s3+2pc6FsXVEcNKkL3N7ahKDzLxwqNW8/xqnzKIovruHyN xgmwZU+1VRyAYsHcUgouzR2YRGcYYm1PC7Wn2uFJdSic9ZBEN/tjKyJzrQvRzvRySsCQ +SJw== X-Gm-Message-State: AOAM531WlT5Vn0A6SGmQxWZS2eqofikI72v1mM+UZPc9K6TzPgQJ4Q1l o65aN+qVfm8cRUT8xo/Uy7luaQ== X-Received: by 2002:a65:41c3:: with SMTP id b3mr1114228pgq.332.1617159936676; Tue, 30 Mar 2021 20:05:36 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:c8c2:b814:df0f:253f]) by smtp.gmail.com with ESMTPSA id c6sm389024pfj.99.2021.03.30.20.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 20:05:36 -0700 (PDT) From: Stephen Boyd To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang Subject: [PATCH v3 11/12] buildid: Fix kernel-doc notation Date: Tue, 30 Mar 2021 20:05:19 -0700 Message-Id: <20210331030520.3816265-12-swboyd@chromium.org> X-Mailer: git-send-email 2.31.0.291.g576ba9dcdaf-goog In-Reply-To: <20210331030520.3816265-1-swboyd@chromium.org> References: <20210331030520.3816265-1-swboyd@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel doc should use "Return:" instead of "Returns" to properly reflect the return values. Cc: Jiri Olsa Cc: Alexei Starovoitov Cc: Jessica Yu Cc: Evan Green Cc: Hsin-Yi Wang Signed-off-by: Stephen Boyd --- lib/buildid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buildid.c b/lib/buildid.c index e8a473f2b023..483abf71eeec 100644 --- a/lib/buildid.c +++ b/lib/buildid.c @@ -120,7 +120,7 @@ static int get_build_id_64(const void *page_addr, unsigned char *build_id, * @build_id: buffer to store build id, at least BUILD_ID_SIZE long * @size: returns actual build id size in case of success * - * Returns 0 on success, otherwise error (< 0). + * Return: 0 on success, -EINVAL otherwise */ int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id, __u32 *size) -- https://chromeos.dev