Message ID | 20201103152838.1290217-17-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=9aBr=EJ=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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 CE37FC2D0A3 for <linux-arm-kernel@archiver.kernel.org>; Tue, 3 Nov 2020 15:36:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 5CF9820735 for <linux-arm-kernel@archiver.kernel.org>; Tue, 3 Nov 2020 15:36:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sV9MtM+0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LVNw/niQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CF9820735 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yIeRo0q4hdbF4hHOdRhsRJCV6Fe1Mk37DosraHaksrw=; b=sV9MtM+03MKwPs48/zD8upkOh pnaNa+7CprgUYXggyVhaEYugAXdr4rWgLRRuLrrHHrIsWdgVSv5qlKUfvhIr783oY7i0z22Aw1zvP YdvaOfBaLhyyVb10pFQEQgOAN+y44WvcZ0mp8h7xQaWOvbUmBuN4WKmFaKkqnVz6BuRZe/HP6C+Pp kOkR7T4tBoDEJFI6skxcAPXLJ5YVlUUsIC/UX+gT50AHZ9rPzwFOIDnAupmNIHBEl/CSjeL87YoPX bT2B/bpyec9W9Utw4HZlIVvzu9zBNz7aP4dJAF8+EQRmeSqjDBwYSuC8e7RZto8i9K5WoFrx6qfv5 DDLRrxClg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyJW-0003IT-Sb; Tue, 03 Nov 2020 15:33:40 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFY-0001q5-5X for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:33 +0000 Received: by mail-wr1-x443.google.com with SMTP id w14so18975366wrs.9 for <linux-arm-kernel@lists.infradead.org>; Tue, 03 Nov 2020 07:29:32 -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=BTdnnrRVuCbgQS2De8FJKm0elKhLf/t/tAH+rByd77A=; b=LVNw/niQDAW9U7ijNZkhMS5ThcE3Jvp1uQvhf0orWmEtKn2CTN9GW0y+S2nuI3TkUP 9YzM8gG6PxBhLWezVef2ftvQMHKTXdvz5YynRQPSOskmRGlTGP50XRRVVp0SnM1P86lJ lRTwtO+SFwmzD9DWFSLR1S4zQjSqQCBPBsLFAYXOCxV+wBg3Tt6qTCSgA3NSjApHInUk 7lgDysC3A4RQpdlLpRKt35LNUbNxLkMnGb72huwi8QO1/6nexal6XGW2GJ96Ffn/t97a E/863EOxVDf06cKGDxLtq0iB6Uu5H4AUBlunSAf6eXkcwnIWcfqHdvS8oL2QTOXQxvOE NvMw== 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=BTdnnrRVuCbgQS2De8FJKm0elKhLf/t/tAH+rByd77A=; b=W7dGQ0ZuO+SOAGv1jtiTBe9Xc6RDOp/iN7lpHI9h95397k++4JGANaYZsTm8ktyopu yYrvf39wN7EgpkuCTfVcT9EjJqEG5uRwhUGJpwQY3nbkXVmGK/NbIsZHu2UHK0rz5k0A 30HZ/68eeCsTJ6JNIhIm7iuDtOCmthC6tdJ2wo1esT9ptaoYdYQ3cN9i2AMpQaSyPUPf xlZf3JyaG0giyyaZyrtPiYcFbqPcqfl+nah+7gHwVQV/mzrK18lNVK68nYlBpdEtYBxb Uc5Ubf9a7DP8lqFsmwq/FBFG6OEL9xehL822ca9QfF1Zr5rsjOOW4kckY+ovHNsR3gnE PwrA== X-Gm-Message-State: AOAM530qSIIw9GZ4RioFqCfksb6IgWYU+Re9YeI/IPr7w+NjLC9gpX1G NqqyG/HPa+KiGK8U75T6ZYxi6A== X-Google-Smtp-Source: ABdhPJxSK592GbXUg76+lrIYFwt6ZRAQ5oj1sTAb7oGVb8E0cWpfd3EnUqKOOq2siJj50icyAKN3Ww== X-Received: by 2002:adf:f10e:: with SMTP id r14mr25710602wro.337.1604417371320; Tue, 03 Nov 2020 07:29:31 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:30 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 16/25] soc: qcom: smem: Fix formatting and missing documentation issues Date: Tue, 3 Nov 2020 15:28:29 +0000 Message-Id: <20201103152838.1290217-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-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-20201103_102932_723210_1A9BF18F X-CRM114-Status: GOOD ( 13.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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> Cc: linux-arm-msm@vger.kernel.org, Andy Gross <agross@kernel.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson <bjorn.andersson@linaro.org> 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 in SoC
|
expand
|
diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index 28c19bcb2f205..7251827bac88d 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -122,7 +122,7 @@ struct smem_global_entry { * @free_offset: index of the first unallocated byte in smem * @available: number of bytes available for allocation * @reserved: reserved field, must be 0 - * toc: array of references to items + * @toc: array of references to items */ struct smem_header { struct smem_proc_comm proc_comm[4]; @@ -255,6 +255,7 @@ struct smem_region { * processor/host * @cacheline: list of cacheline sizes for each host * @item_count: max accepted item number + * @socinfo: platform device pointer * @num_regions: number of @regions * @regions: list of the memory regions defining the shared memory */
Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/smem.c:135: warning: Function parameter or member 'toc' not described in 'smem_header' drivers/soc/qcom/smem.c:275: warning: Function parameter or member 'socinfo' not described in 'qcom_smem' Cc: Andy Gross <agross@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/soc/qcom/smem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)