From: Heinrich Schuchardt Date: Mon, 28 Sep 2020 03:47:30 +0200 Subject: [PATCH 09/12] log: Fix the comment for struct log_driver() In-Reply-To: <20200928004624.1652803-10-sjg@chromium.org> References: <20200928004624.1652803-1-sjg@chromium.org> <20200928004624.1652803-10-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 28. September 2020 02:46:21 MESZ schrieb Simon Glass : >This is missing a comment for the 'emit' member. Add it. > >Signed-off-by: Simon Glass >--- > > include/log.h | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/include/log.h b/include/log.h >index dc1b6b5e4c6..b49f5c99859 100644 >--- a/include/log.h >+++ b/include/log.h >@@ -304,6 +304,7 @@ struct log_device; > * struct log_driver - a driver which accepts and processes log records > * > * @name: Name of driver >+ * @emit: Method to call to emit a log record via this device > */ > struct log_driver { > const char *name; log.h seems to be missing in the generated HTML documentation. Cf https://u-boot.readthedocs.io/en/latest/api/index.html If we add it, make htmldocs will warn us of similar glitches. Best regards Heinrich