Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3059647pxv; Sun, 27 Jun 2021 17:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+NBHGFye/nm2zNnJNLssq7UKrNhbpHoqltMiZvmkk+n1qZgBT5C/F9Vsr9WgNY4/ViVUb X-Received: by 2002:a17:906:6d59:: with SMTP id a25mr21722826ejt.83.1624840940101; Sun, 27 Jun 2021 17:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624840940; cv=none; d=google.com; s=arc-20160816; b=z6h7sB2WVjWK1iO3zdJEDEfFmKIB4Ky4tFlMbDur9xiJPrLjIwwIBbDq/84oBsChVz W2BWZRxvtw6EVQjpPN85U/iVc8KDlsVVHj4v+vEDpBGIdieAsfvu3/cT9biHzfwOEIlJ dBqN2nik2FZsvDAfNQNI+4aLwscgabwRwLUueLzAmE6rNc0C98nTu994sE75zvqZHwvw 162fsMyzmI4jmbxr9K8V8671BsZrsoux0z7UMAMJRx4m3004h1mgYIc/inX4KFtTV3Q/ 2SgzRXRaAC8RUVs7iACzeNkzeExivMvipoAeNGnL2SE2vHw+i9kctxyn068A+55fW0hR AVCw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=8hAFSlHFWdnPhlaMXpF6GcfhzBmf4yRkDGhXefLS0Ro=; b=IpsNQZFnDfDWO8CYsGHRLIXzlw3IbIzAKnpsl/i1AaRZpztARmeGgz8McWaZjIiKdH cgg7U3Zde7cpSQs4miDtqSHtszrJm9zTD1cqu8EehGY471eXgtKdLPIozf73ggTl1I32 FdlgliqWGjelbm7vPzin1ngLlWAAkGsvt65JYfH3+rVpOE8W9DcAqJr4xwMqQxFnbKwk 3WRBybA5oSbUQiIbBqKtxi+LTCZ7l7zXlIavLmNbgxnrZG7n/U07Zxzrc+Kz//yfpmry 1Y9IhIZhROsBkgbOJyVYFVZ21NAwdJRMCVn9jaGCvXq8bNcmjdF4mj9cQpTz0JAm6OWC QQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dYLeBaC6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si15020381ejj.750.2021.06.27.17.41.56; Sun, 27 Jun 2021 17:42:20 -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=@infradead.org header.s=bombadil.20210309 header.b=dYLeBaC6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231854AbhF1Amt (ORCPT + 99 others); Sun, 27 Jun 2021 20:42:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231737AbhF1Ams (ORCPT ); Sun, 27 Jun 2021 20:42:48 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 784F1C061574; Sun, 27 Jun 2021 17:40:24 -0700 (PDT) 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=8hAFSlHFWdnPhlaMXpF6GcfhzBmf4yRkDGhXefLS0Ro=; b=dYLeBaC62HAnbE9R08Nq9sSl9o eVqDvzPqf+3rMtsYMm+1RHdsaovcd9bPvvujD9dFoLXsS7cUbEwpWpc9MXDZClJhLq3nEGmsG5MUZ 9zqXLhPxlsmhnqe3X3RoA+K64tSHwU0OkWdUZImeOSqSBl1dmNDkiJk+Ba3IfjEjsffez4RiLFQe3 96ugUUYxaqOAhT0Ob6z7VZ4qgVkXzSCEfLzbTRdlRjrdZ3v87gMM8O5D8zjeI9Ypv7LivAVmYN9k+ f9RHukdArjlNoBTW6zUvgUnfDNF1qE6ryyV9rpJEjn7buoi5jCRZ/W0LaFdbqw18+sdrOPyazdbC7 hwaPOtUQ==; Received: from [2601:1c0:6280:3f0::aefb] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxfK3-006MXp-TQ; Mon, 28 Jun 2021 00:40:24 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , "William A . Kennington III" , Mark Brown , linux-spi@vger.kernel.org Subject: [PATCH] spi: : add missing struct kernel-doc entry Date: Sun, 27 Jun 2021 17:40:23 -0700 Message-Id: <20210628004023.7371-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix kernel-doc warning in spi.h: ../include/linux/spi/spi.h:673: warning: Function parameter or member 'devm_allocated' not described in 'spi_controller' Fixes: 794aaf01444d ("spi: Fix use-after-free with devm_spi_alloc_*") Signed-off-by: Randy Dunlap Cc: William A. Kennington III Cc: Mark Brown Cc: linux-spi@vger.kernel.org --- include/linux/spi/spi.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20210625.orig/include/linux/spi/spi.h +++ linux-next-20210625/include/linux/spi/spi.h @@ -339,6 +339,7 @@ extern struct spi_device *spi_new_ancill * @max_speed_hz: Highest supported transfer speed * @flags: other constraints relevant to this driver * @slave: indicates that this is an SPI slave controller + * @devm_allocated: flag indicating this is a non-devres managed controller * @max_transfer_size: function that returns the max transfer size for * a &spi_device; may be %NULL, so the default %SIZE_MAX will be used. * @max_message_size: function that returns the max message size for