From patchwork Wed Nov 4 19:35:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320571 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp5698326ilc; Wed, 4 Nov 2020 11:36:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3e6OARHE8qb8Ep54/v/6kT4NcaXT7u96L0GcqO07H2b5bX4xHvziS8t/HXO1Unib/lf0K X-Received: by 2002:a17:90a:3fcd:: with SMTP id u13mr5864855pjm.85.1604518599121; Wed, 04 Nov 2020 11:36:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518599; cv=none; d=google.com; s=arc-20160816; b=jsz5p8qyZ0bVu4M7DP6VCogbvuPLGqz7ncOzR636qSRaW3QVoLTm2RKHQ1NKVUvgn4 /gOUYYencBT01R7ndeMgxRdvyMx7TDlrRBkQwoX6nNw/twaKqJgAN4fpuddX9DdTw4Ya qsoEKoTYvCfNbHpTnlldcs6WbNJOI/NtM3YRPSzQj4L03zvFJZoywEjSkpw+cdzoBqN1 6HUEwjRNIp/gdrd6Xje2CUcjKWRddaq4OVTSojDX7nukH7uFD98d/6QhGsxsIGivm1bk dxXd4l/UmX3pTderwP6NlLOobukDzrnTKtzvCSxKrGNA88UPWYQrZLVvRg8pzdNp/2A1 +94g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=giqSYmQCU0mF2zfKSIMgv3PGEOo6zeh6E3mMBy7WdW8=; b=pw8gyaC69QXcLQgRb7vAZxq8dmgP8UOb01A+GaraqSqexM91xqS/f8cLqKoNQUSmHG CRXQLF41NO/uznrf+fD/rPFUunrz7yL46Eo4XQ2092UEtHvvCt6yoZHBC60yAtr4PEcJ GX+kN+wJ0GMmNciboRHT+UH6Kys3KI9iuiOe0Du1ouqSn/OJfqy+CVAZg+8kuD/t+Rhr wq75Jy5THRKr77V52MtGtu17Ue0KUqmQWUbLBzoPy6hCKV3utIV7IakOs6SabGddRe+D fKYXW4OboPPdVKMW89EQm0Sg6kfYvas17taCI2KmDfOgfBI/ZVFJaF+z0k+hN1psSPss q7Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mDUmwxxs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id w13si2550764pjg.127.2020.11.04.11.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mDUmwxxs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27D6C6E3DA; Wed, 4 Nov 2020 19:36:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id C108C6E3DA for ; Wed, 4 Nov 2020 19:36:36 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id b8so23341167wrn.0 for ; Wed, 04 Nov 2020 11:36:36 -0800 (PST) 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=LLsN4EencXRGtGh6NICYbwvfxRBgSaeY1vL5/hXBaSE=; b=mDUmwxxsTe07lHZdCK2NULBQOzn4QryCvAiJRBiNod0SQqJoH9VRDVYsjyFYKGVo/W reE/6DdkeQRZ5mln/8ZmhUKS1Roow+CuhxYEGWCbHlGiH6Qvhf2OzHgt7m1ca/RB6IfC 1Z/XDwPlOsKdZWNpKBMdu/7ai2sBwVtTD3IVxbySNMGnN2mYL5XCqTeOJDO84TsaAUgR y4+ySv4XxyVtAkylZ1TZa2e5KfXHwqh1NYm4Q5nd7bi3EBSwCAabLS+uoRknth3lyNIL 4C639ZtdSlM3cWtK32QsZklz9nt/+PfSD/KdhAz8FygBldRS4KP1oWuJo4VC0x5CKunJ 1MpQ== 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=LLsN4EencXRGtGh6NICYbwvfxRBgSaeY1vL5/hXBaSE=; b=X48txEKhEmkjrBsmdGRRHjvnUXu5+UlvYJDisUVK0s3MJEwqQc/zpiw/lF38exMd3y stCXmwYg5tCXcsDnL6ogeFNeLkNr3RQsQV/4dSwz5KpbOQ9J+wUIgmuKeBUZtQLGNrEm rvIatub7c0jB47sZwXEl8Vh/rz0T5skbVKGMujFcmK5HhqMp3rrOqFpoABm1+DEQosVN 5LQX+JnENSxOx/FUGjm3YSG1GZRQs1skIMDLdRqKkTGUG3OjRZussC5xROWtf+iw75sM HeKKGHBCOIgpE76+gyeLIlP42vqe/oDLAfjVmVDYhIgxuPnwUp9cI4A5/IO4VoA2y4dP 1zHA== X-Gm-Message-State: AOAM533kc6l3J+9h7iS/NGEupemg7OExsAM71rzhuNQHtMimgdlEAdaX +ecQ7ztGRMXR3YFufdqQQDgViA== X-Received: by 2002:adf:de89:: with SMTP id w9mr33569428wrl.212.1604518595494; Wed, 04 Nov 2020 11:36:35 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:34 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/36] tty: serial: serial-tegra: Struct headers should start with 'struct ' Date: Wed, 4 Nov 2020 19:35:37 +0000 Message-Id: <20201104193549.4026187-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-serial@vger.kernel.org, =?utf-8?q?Christian_K=C3=B6nig?= , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jonathan Hunter , linaro-mm-sig@lists.linaro.org, Thierry Reding , Laxman Dewangan , linux-tegra@vger.kernel.org, Jiri Slaby , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/tty/serial/serial-tegra.c:85: warning: cannot understand function prototype: 'struct tegra_uart_chip_data ' Cc: Laxman Dewangan Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Thierry Reding Cc: Jonathan Hunter Cc: Philipp Zabel Cc: Sumit Semwal Cc: "Christian König" Cc: linux-serial@vger.kernel.org Cc: linux-tegra@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/tty/serial/serial-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index bd13014a1c537..c363ee0470f45 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -75,7 +75,7 @@ #define TEGRA_UART_FCR_IIR_FIFO_EN 0x40 /** - * tegra_uart_chip_data: SOC specific data. + * struct tegra_uart_chip_data: SOC specific data. * * @tx_fifo_full_status: Status flag available for checking tx fifo full. * @allow_txfifo_reset_fifo_mode: allow_tx fifo reset with fifo mode or not. From patchwork Wed Nov 4 19:35:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320573 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp5698426ilc; Wed, 4 Nov 2020 11:36:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzs9kAT9umBm7owlV6/5tcs2hc4mG6coB/NHmGWI8rZINxpJ7bU63KevV4/RogkXMEBHPt X-Received: by 2002:a17:902:8e87:b029:d6:8dde:138b with SMTP id bg7-20020a1709028e87b02900d68dde138bmr28649468plb.83.1604518606935; Wed, 04 Nov 2020 11:36:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518606; cv=none; d=google.com; s=arc-20160816; b=vIDS2YsizRQPtOVQOZZ+093E49fiprIP6vxhJZ5K3eYU2zIbo8bkGE7agY6o9biE5r /Ydb8PIYEE85FREGCa6WG1lxnMYHIBSnLxjyU6Vc7DkPS2XxNsaSJx7/mpWBzadQ3d3k 1+UlHMxVfrAis19bmlCtJ2zKrjx4VPrQqqpn9BEby/1FyilSS3w8lEuE1adaIZ8sfPl8 qMnQQ3hrZIEknkEmyUnTxmpdOhMz+oz8hJOPjxkzg22GFwhjko5hAqfOERbgZn881v1h CnVmwENIAjOHKpbz44N6QFkUGWC9OH9Bn+CgnPZoo77Abk2Nzr2iXKG2fnxZ0GBiZpKB M1Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=iZdiCUHKVpBO55SoGGs/OMXoWJxfm2mqTUV6eozo9HE=; b=IA5mYg3fWgoixvkLwNHDOLHgF4NGH8KcUnJLOCwNQkHFJEYpF8vNStgdWb+XwkvLxD 6KgVLkVt1hvQA36fIj4dRXB8mYwE/ICrMVwDsPzhlZdwgRylfyj8TyxRP01cEwwqH12n SDnmcZmRui6noN6QJEY0uDRdQBGhLmY5x0Nyc8vXo6FLHOktOZDUiMnc0RzITbYaPQM7 K9cpurI+uQ23DJloCtVqtBTMdm1+xz+tkCbvxmsPUIU2ilLm5OMvaYaXnoM+1u7bDad3 7d6Y8kUkm1e71tRthRv3+LQ6PGZuZzlYNylQZp0CcDLpmQB2TtYUZEgHFDHm5XAPDeiz +r4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CDTWv8+b; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id h125si2628651pfb.321.2020.11.04.11.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CDTWv8+b; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B22556E3EF; Wed, 4 Nov 2020 19:36:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D01C6E3EF for ; Wed, 4 Nov 2020 19:36:44 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id e2so3441727wme.1 for ; Wed, 04 Nov 2020 11:36:44 -0800 (PST) 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=QJlyn82FOfM7EXjR0q74MRu42lgfKXYpFARoLgEcKcw=; b=CDTWv8+b7Pc7euhcDEsYBH2s0hgrrGZ9dFeeb26B0gMt0vQRbHOkNYq12S81R2kSIb BkAZElbMwbidJp0VR2ZQrpMuxtaij6l4SS3iiFsKW8QQicUO0kgIo+9bHizDrHJSN/7i 8aOmvSrphp4pnAsk4raJf8eABmQqhcqbtF86lo5/LYL3HQ5u/y5vVtfwc19HNURBk39W TmrGK+eFMC0IBsAxiOCp5WoexunKFDgC+MdbkeMV3/YLnbC7GDLyFT1NlqdhgeAJKI2T ZxTy7SwCJ2VQzBXSlfn77lrnQBilU8LpnRRDY2CaseHey2g0t+xd3ZnRCPrqr5TSTd3/ jHPA== 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=QJlyn82FOfM7EXjR0q74MRu42lgfKXYpFARoLgEcKcw=; b=G5fhKkKNg2KD6WtKNdcudIuSFO+ibUYhxoV+g3IGErU6KCWQJKQCkva874DcAvp+J5 59+yl02KGCrDihQWNreFf0VtW4dz0g8BvhJGoAXdwPU9xzAlF/pYirkyXjTzQ37tanXZ lF4ZLjAXHZ2YudauKqi/D44SK0SvMVqhexV0EEBGuxODlkrKEwjvao4pPY2IDmuRVwBY dWgTIYyhoOVfUG0xzLJRU8PL9+Y+AbBgz2cFEpqRKhGey6WAmrdHnzKlsq8dJ/jyzgOW U82QxeTueZE5yi6dl/hof7UVntDuh09YQyyrwsZOQLgcF5HOBoFULCM5lHR3Rq+cfgic nUBg== X-Gm-Message-State: AOAM533CkZLIeEM9UqlXEA9IKJnzhb+RkuEJn0e39E2TGWWKsUmCmcyL kkiEIRdRCkbpftWVyNfz0492OQ== X-Received: by 2002:a1c:4c0a:: with SMTP id z10mr5105765wmf.96.1604518603201; Wed, 04 Nov 2020 11:36:43 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/36] tty: serial: serial-tegra: Provide some missing struct member descriptions Date: Wed, 4 Nov 2020 19:35:43 +0000 Message-Id: <20201104193549.4026187-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-serial@vger.kernel.org, =?utf-8?q?Christian_K=C3=B6nig?= , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jonathan Hunter , linaro-mm-sig@lists.linaro.org, Thierry Reding , Laxman Dewangan , linux-tegra@vger.kernel.org, Jiri Slaby , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'fifo_mode_enable_status' not described in 'tegra_uart_chip_data' drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'uart_max_port' not described in 'tegra_uart_chip_data' drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'max_dma_burst_bytes' not described in 'tegra_uart_chip_data' drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'error_tolerance_low_range' not described in 'tegra_uart_chip_data' drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'error_tolerance_high_range' not described in 'tegra_uart_chip_data' Cc: Laxman Dewangan Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Thierry Reding Cc: Jonathan Hunter Cc: Philipp Zabel Cc: Sumit Semwal Cc: "Christian König" Cc: linux-serial@vger.kernel.org Cc: linux-tegra@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/tty/serial/serial-tegra.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index c363ee0470f45..bbae072a125db 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -81,6 +81,11 @@ * @allow_txfifo_reset_fifo_mode: allow_tx fifo reset with fifo mode or not. * Tegra30 does not allow this. * @support_clk_src_div: Clock source support the clock divider. + * @fifo_mode_enable_status: Is FIFO mode enabled? + * @uart_max_port: Maximum number of UART ports + * @max_dma_burst_bytes: Maximum size of DMA bursts + * @error_tolerance_low_range: Lowest number in the error tolerance range + * @error_tolerance_high_range: Highest number in the error tolerance range */ struct tegra_uart_chip_data { bool tx_fifo_full_status;