From: David Miller <davem@davemloft.net>
To: salil.mehta@huawei.com
Cc: yisen.zhuang@huawei.com, lipeng321@huawei.com,
mehta.salil@opnsrc.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, linuxarm@huawei.com
Subject: Re: [PATCH net-next 0/6] net: hns3: Add more commands to Debugfs in HNS3 driver
Date: Fri, 14 Dec 2018 14:36:31 -0800 (PST) [thread overview]
Message-ID: <20181214.143631.1081032057703599919.davem@davemloft.net> (raw)
In-Reply-To: <20181214.143046.597375776514311090.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
Date: Fri, 14 Dec 2018 14:30:46 -0800 (PST)
> From: Salil Mehta <salil.mehta@huawei.com>
> Date: Tue, 11 Dec 2018 17:13:24 +0000
>
>> This patch-set adds few more debugfs commands to HNS3 Ethernet
>> Driver. Support has been added to query info related to below
>> items:
>> 1. Packet buffer descriptor ("echo bd info [queue no] [bd index] > cmd")
>> 2. Manager table("echo dump mng tbl > cmd")
>> 3. Dfx status register("echo dump reg ssu [prt id] > cmd")
>> 4. Dcb status register("echo dump reg dcb [port id] > cmd")
>> 5. Queue map ("echo queue map [queue no] > cmd")
>> 6. Tm map ("echo tm map [queue no] > cmd")
>>
>> NOTE: Above commands are *read-only* and are only intended to
>> query the information from the SoC(and dump inside the kernel,
>> for now) and in no way tries to perform write operations for
>> the purpose of configuration etc.
>
> Series applied.
Actually, reverted.
Please fix these warnings and resubmit (with gcc version
"gcc (GCC) 8.2.1 20181105 (Red Hat 8.2.1-5)"):
In file included from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:21,
from ./arch/x86/include/asm/cpufeature.h:8,
from ./arch/x86/include/asm/thread_info.h:53,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/wait.h:9,
from ./include/linux/wait_bit.h:8,
from ./include/linux/fs.h:6,
from ./include/linux/debugfs.h:15,
from drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:4:
In function ‘strncat’,
inlined from ‘hns3_dbg_help’ at drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:263:2:
./include/linux/string.h:320:10: warning: ‘__builtin_strncat’ specified bound 256 equals destination size [-Wstringop-overflow=]
return __builtin_strncat(p, q, count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncat’,
inlined from ‘hns3_dbg_help’ at drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c:252:2:
./include/linux/string.h:320:10: warning: ‘__builtin_strncat’ specified bound 256 equals destination size [-Wstringop-overflow=]
return __builtin_strncat(p, q, count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:21,
from ./include/linux/mutex.h:19,
from ./include/linux/kernfs.h:13,
from ./include/linux/sysfs.h:16,
from ./include/linux/kobject.h:20,
from ./include/linux/device.h:16,
from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c:4:
In function ‘strncat’,
inlined from ‘hclge_dbg_dump_mng_table’ at drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c:795:2:
./include/linux/string.h:320:10: warning: ‘__builtin_strncat’ specified bound 256 equals destination size [-Wstringop-overflow=]
return __builtin_strncat(p, q, count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next prev parent reply other threads:[~2018-12-14 22:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-11 17:13 Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 1/6] net: hns3: Add "bd info" query function Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 2/6] net: hns3: Add "manager table" information " Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 3/6] net: hns3: Add "status register" " Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 4/6] net: hns3: Add "dcb register" status " Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 5/6] net: hns3: Add "queue map" " Salil Mehta
2018-12-11 17:13 ` [PATCH net-next 6/6] net: hns3: Add "tm map" status " Salil Mehta
2018-12-14 22:30 ` [PATCH net-next 0/6] net: hns3: Add more commands to Debugfs in HNS3 driver David Miller
2018-12-14 22:36 ` David Miller [this message]
2018-12-15 10:36 ` Salil Mehta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181214.143631.1081032057703599919.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=lipeng321@huawei.com \
--cc=mehta.salil@opnsrc.net \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®