Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp36112rwb; Mon, 26 Sep 2022 14:19:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6tpx8EXzI5U8sK/GLgpKVBScSY/wjQ9UJIgyVoSbFyR00lkeYuzJB1GXigkw+TIyMrjg8T X-Received: by 2002:a50:a691:0:b0:456:e443:7616 with SMTP id e17-20020a50a691000000b00456e4437616mr16299108edc.414.1664227199553; Mon, 26 Sep 2022 14:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664227199; cv=none; d=google.com; s=arc-20160816; b=zsPSoxYRAvT6CJEZQ2TWwn1mj/B/7E7X1impcd0oYg8qvmOwyGKVF0p22Gs8ljMvEW 1uy3jIPFmOXA8isyHjbwEjRbv6/vumbFdXsSr+BkCo+YP6DERpXvWOvDxT4Ozi5sFQkS ezvIK5aIO7XgzCI+FIO5xPEbi9t/zKyN0vo2sSrPj/AYOFO8nYG8Hycg5rpXkoyWmnko w0O0BgHNDGWcf2HtihKyBeb6lwPi9HNkIvzIB1KEl84L6x9GpADN2A7cE6Ir5wbAhmUD BKKQxUUyY567nEuo5aQLA/Ejs8mJ8g34LwgJadHQr4VGJlJquFFayLqFMIZ1aGQMW4LJ bAjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qv4UEE+Pyr8ehVevhFLE58aXkeNABKHzoh9oFlgTTYw=; b=PsgNo8BfrKayBVPy2UeZCfW56yaY/0vxQCRpogEy0xO4gn2Ej8Ex/wNC05Qw/pSjAr Xuc+Yw6gQLRMaO1TykaHyhswDpL7l6z6fZEc1Yq+rAT1+wmTApidtiBXkg3A1iVWgcah tb8gZGD2J3vEHy3rJHbFUy/Z5SIlRWoD2kh0ffj/Ja6pBCX43+1GSRCmLSV3tWXDAx57 SiBN0rI8COCTyR5+fa8IAbb8hFEEy2++wGDLvnkQ9a9eAkW4wfsFDnUJtW1GqZFws/NS KNPROPBCKMO6R2yJd8Dx759itDHWh+mDJgpxivX7hCcN/q3YUa/NzfnR/b9Y/MVhyqpK JH7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=SppmqS3Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr29-20020a1709073f9d00b007833c7cf1dcsi1264745ejc.387.2022.09.26.14.19.34; Mon, 26 Sep 2022 14:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=SppmqS3Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbiIZVG1 (ORCPT + 99 others); Mon, 26 Sep 2022 17:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231262AbiIZVGX (ORCPT ); Mon, 26 Sep 2022 17:06:23 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3412571982; Mon, 26 Sep 2022 14:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qv4UEE+Pyr8ehVevhFLE58aXkeNABKHzoh9oFlgTTYw=; b=SppmqS3ZhUXVl+RYJ7q6206ZU+ vKNqbk2eVRIKNOONgdPST7jNpY4wWWsi4cGIXnfxAhr+3yvXLH/4PCfQDNekTPvbR9BUiEXk25p1g M/ZHTmmbXPFjsX++0DfRKXAzxM9kFqh7GQ1/YLWn+6XCajoh3RMMnSsdByXhzrhSZzDLaFJmV2ynw Hxj6e2xjpicpwwzhdRw629341j1YUj0m4ilvvAcgefYAUkaSk6jhyDcEXJt/kq1HRHtV2lx5hHOm+ jdykHwW1tx4YaArtXnPKqkspaggycjdBKTKC+blXcPD0CyvZROv7RG+XsDXKlB/vvxjCO74WEQJUr GVexZtyQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocvIx-00ApxK-Kn; Mon, 26 Sep 2022 21:06:19 +0000 Date: Mon, 26 Sep 2022 22:06:19 +0100 From: Matthew Wilcox To: Kees Cook Cc: Jonathan Corbet , Akira Yokosawa , linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] overflow: Fix kern-doc markup for functions Message-ID: References: <20220926194713.1806917-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220926194713.1806917-1-keescook@chromium.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 26, 2022 at 12:47:13PM -0700, Kees Cook wrote: > -/** check_add_overflow() - Calculate addition with overflow checking > +/** > + * check_add_overflow - Calculate addition with overflow checking > * > * @a: first addend > * @b: second addend Why did you remove the ()? And why didn't you delete the blank line? According to our documentation, the canonical form is: /** * function_name() - Brief description of function. * @arg1: Describe the first argument. * @arg2: Describe the second argument. * One can provide multiple line descriptions * for arguments. I don't usually complain about people getting that wrong, but when people correct it to be wrong ...