netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cleanup of -Wunused-const-variable in drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c
@ 2019-06-13 17:53 Nathan Huckleberry
  2019-06-18  6:39 ` Maxime Chevallier
  0 siblings, 1 reply; 9+ messages in thread
From: Nathan Huckleberry @ 2019-06-13 17:53 UTC (permalink / raw)
  To: maxime.chevallier, davem; +Cc: netdev, clang-built-linux

Hey all,

I'm looking into cleaning up ignored warnings in the kernel so we can
remove compiler flags to ignore warnings.

There's an unused variable 'mvpp2_dbgfs_prs_pmap_fops' in
mvpp2_debugfs.c. It looks like this code is for dumping useful
information into userspace. I'd like to either remove the variable or
dump it to userspace in the same way the other variables are.

Wanted to reach out for opinions on the best course of action before
submitting a patch.

https://github.com/ClangBuiltLinux/linux/issues/529

Thanks,
Nathan Huckleberry

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-19 21:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 17:53 Cleanup of -Wunused-const-variable in drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c Nathan Huckleberry
2019-06-18  6:39 ` Maxime Chevallier
2019-06-18 16:09   ` [PATCH] net: mvpp2: cls: Add pmap to fs dump Nathan Huckleberry
2019-06-18 19:00     ` Nick Desaulniers
2019-06-19  2:33     ` David Miller
2019-06-19  6:49     ` Maxime Chevallier
2019-06-19 18:17       ` [PATCH v2] net: mvpp2: debugfs: " Nathan Huckleberry
2019-06-19 20:46         ` Nick Desaulniers
2019-06-19 21:20         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).