Message ID | 20210520121906.3468725-10-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=3stN=KP=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D584BC433ED for <linux-arm-kernel@archiver.kernel.org>; Thu, 20 May 2021 12:21:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F40A61186 for <linux-arm-kernel@archiver.kernel.org>; Thu, 20 May 2021 12:21:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F40A61186 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uumMCneB84vDnFOImXAy5Oc+u2UDXwcEuTaR4BfejCQ=; b=p+cRtQ/f7uvlO3GIlHNFXRj+FN c/rKw3iNojVUGC2WqaAzm8lmyjxT1GLWguBAB7k7JuojV5BH+LUmtSA817gOBWb4ur9+AgNQUq6T4 mhYQNN1Zwil3MTCB9p0ztdXd2BL/k18UfCrVJ/ahnGIqP+NlDX9oRzU76ZkZGZjv41M+3rXB9gDR1 Fg6AvKTy7KlTfGP+KhBLcU4jL7fX7NZqHk2mYVgVR/6MUpwOBFqoLdfsNSkuRCvnV9m6rd/TG0lwX gHMcBc+OxUH51MWdRA6pNBB1ywOc6C7kL5cWc1IN7RFajyH0Av+yDuqbrWUeHLpMaLYBZmMgM2R98 ossijKrw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljheB-000l16-QU; Thu, 20 May 2021 12:19:27 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljhe6-000l0V-Sd for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 12:19:23 +0000 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:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Vp8dJDjY2uxCfDOs0aEe2lY0ldvHAGMERMrzv0ubzjg=; b=AcQdE1iqttvqjoZG4c42uvCbre E5IV1RD7t6wzg4kgA7ItDdXVmR59lzZ/ruR7qlW+wC+DUhgxnAlm7LegEFXPoUe8FIDUUkYcPSXcF LE68MKWnMLeGdgqZM4gXqInUlad0BOolDpsjj/0nwoswUe4rTjbt7O9m8qrbzoXxCSR9XqJNRbcU8 zbcQdqWM7/kSHCgPyWuynvh9EXzUjX8ObvuWyFXh4pEHJox3I7uhpgl1H0d4480UaO4yU9GEv39oI HLCLfO+V05BB1KLDnYwnlygMSlT+RtKGdrLgqDugZttbyW5Ze4FPsb5KHZV4hQ1OgCqs+pe799tWF lZXdDJTA==; Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljhe4-00GJGc-Df for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 12:19:21 +0000 Received: by mail-wr1-x436.google.com with SMTP id i17so17423588wrq.11 for <linux-arm-kernel@lists.infradead.org>; Thu, 20 May 2021 05:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vp8dJDjY2uxCfDOs0aEe2lY0ldvHAGMERMrzv0ubzjg=; b=uxT1WDGTgvjQY06WCtH0h/WZSWz8ixAv8Wz5NOT5Sg4wUo8cGjsBHjMhrpLjZEhEJx luwADTfcZEFzbjYWE250ywsmqmEoR320wH8VY3505s2BUBdew8auTtwmxPp+VQuGYZv0 hmeLnB8TR6fPsVQMxU5J+IxQ9z40f2YhejT3Yk6uxIjhFfNQkKeMIct+tpmMLfNeUX+S QA3jNOOhDJoz7spmPgYYSzsMIZ/aCbZ8eKOjGvIuLpIo71FDBhMm+2D8p2eTPHjN/mTq 8Mdcs7PnDwNC6skPib3k5pQJcm1hISi+fuAewuoFNh9rItC0HWVCByaz+9FgWagxkN2C ABjQ== 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=Vp8dJDjY2uxCfDOs0aEe2lY0ldvHAGMERMrzv0ubzjg=; b=TRsY9tHumt4XcZfY9/R7lQ603mVrQ+yKwfJvQzHBAJox90ug+6qCRqQIoNKl46f39w CIf9sAQ05smE25W/qrSrxDJn4CR12WZBJdLR2MMiQP7KbTwGE76y4t9dEcgdWxQAEnUk wIOmsGOeB3zuBgbgdMuxPEwaKbkHPYxjLjw4/Mr8G+rVNzxLhXA3tIpum0+5p5Rk/fIP cfa9E4TYofhQZm8TCQ+fUBH6DcIiMgCY7MdtaD5N9zv5hBToM99BY7y7i+ZlaANtw83p IW4J3PUDQMnmtwuTsvad7DDoR1z6Vcbxs9i4gZANAjmEuuVCs4zXRueXnzk0t+/tNpIb jf1A== X-Gm-Message-State: AOAM533rP8vx0GkP9zX7JIKptoGKdTLycigKopp87v1ZeCSg6yqn5k9R uoyvQNHeiHzSmKpTadQUOx0MdQ== X-Google-Smtp-Source: ABdhPJzH8mymsddYGXrgQfWZoS3B4ieYvCDkTLb2tXWzzp3R6qOzcy98jCVFzhtCHtvoNpDUzsOGKw== X-Received: by 2002:adf:e110:: with SMTP id t16mr4027466wrz.359.1621513158802; Thu, 20 May 2021 05:19:18 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id f16sm3061161wrm.47.2021.05.20.05.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:19:18 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard <patrice.chotard@foss.st.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org Subject: [PATCH 09/11] tty: serial: st-asc: Demote a kernel-doc formatting abuse Date: Thu, 20 May 2021 13:19:04 +0100 Message-Id: <20210520121906.3468725-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520121906.3468725-1-lee.jones@linaro.org> References: <20210520121906.3468725-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_051920_478879_387FC10C X-CRM114-Status: GOOD ( 14.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Rid W=1 warnings from TTY
|
expand
|
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index e7048515a79ca..62128bbd03151 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -65,7 +65,7 @@ static struct uart_driver asc_uart_driver; /* ASC_RXBUF */ #define ASC_RXBUF_PE 0x100 #define ASC_RXBUF_FE 0x200 -/** +/* * Some of status comes from higher bits of the character and some come from * the status register. Combining both of them in to single status using dummy * bits.
Fixes the following W=1 kernel build warning(s): drivers/tty/serial/st-asc.c:73: warning: expecting prototype for Some of status comes from higher bits of the character and some come from(). Prototype was for ASC_RXBUF_DUMMY_RX() instead Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-serial@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/tty/serial/st-asc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)