From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 3AC82C10F29 for ; Tue, 17 Mar 2020 14:54:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 135F020724 for ; Tue, 17 Mar 2020 14:54:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584456875; bh=ngm8KfEWZ1w1B8xThy9DYpYXuh5kAXswdWClIoD/HIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=UDTq9GZl5G7Yv6aZepliXqqy9EVTtkI3ou4w4Gv2cLO/MvCPDcTbmM/8sfHlzvgVj mzn+r8K6Lw6w19iVIPMJieY5YgprUVkQ5wgeJwkISHWosxO0WnQdxE9P2hHIKtdFyj JNDKBhs7IpLcZpyrhnx90GkxCO9VJ/KIfBvEUlCo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727075AbgCQOyd (ORCPT ); Tue, 17 Mar 2020 10:54:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:43684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbgCQOyc (ORCPT ); Tue, 17 Mar 2020 10:54:32 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D12D520777; Tue, 17 Mar 2020 14:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584456871; bh=ngm8KfEWZ1w1B8xThy9DYpYXuh5kAXswdWClIoD/HIs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IcOYly3Lf5sMWTt1SHqcQCOJ2be+l+7v1x0lR+oNLOJZnoULSXxqC+d66FN1D4ruH 78PPoWLcuYlSFhXtouM3t1+NbSltrOM0gVu0GRxGxNhfQcLJVW9Zf3qZelH8QFjXDL 0xe9Zj3ptq5C4DCqEQjZXx3Prb9vnUaWp95ZTNE8= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jEDbw-000ANF-T2; Tue, 17 Mar 2020 15:54:28 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Dennis Dalessandro , Niranjana Vishwanathapura , Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: [PATCH 14/17] infiniband: pa_vnic_encap.h: get rid of a warning Date: Tue, 17 Mar 2020 15:54:23 +0100 Message-Id: <9dce702510505556d75a13d9641e09218a4b4a65.1584456635.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The right markup for a variable is @foo, and not @foo[]. Using a wrong markup caused this warning: ./drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:243: WARNING: Inline strong start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h b/drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h index 0b3570dc606d..d324312a373c 100644 --- a/drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h +++ b/drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h @@ -239,7 +239,7 @@ struct opa_veswport_mactable_entry { * @offset: mac table starting offset * @num_entries: Number of entries to get or set * @mac_tbl_digest: mac table digest - * @tbl_entries[]: Array of table entries + * @tbl_entries: Array of table entries * * The EM sends down this structure in a MAD indicating * the starting offset in the forwarding table that this -- 2.24.1