public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nolibc and __attribute__((__unused__))
@ 2021-07-21 20:33 Paul E. McKenney
  2021-07-21 20:39 ` Willy Tarreau
  0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2021-07-21 20:33 UTC (permalink / raw)
  To: broonie; +Cc: w, linux-kernel

Hello!

My guess is that I should ignore the following checkpatch complaint on
the assumption that checkpatch doesn't realize that this is not built
as part of the Linux kernel.  But if my guess is incorrect, please let
me know, as it is a trivial change to make.

							Thanx, Paul

------------------------------------------------------------------------

-------------------------------------------------
/tmp/rcu/0002-tools-nolibc-Implement-msleep.patch
-------------------------------------------------
WARNING: __always_unused or __maybe_unused is preferred over __attribute__((__unused__))
#24: FILE: tools/include/nolibc/nolibc.h:2246:
+static __attribute__((unused))

total: 0 errors, 1 warnings, 19 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/tmp/rcu/0002-tools-nolibc-Implement-msleep.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

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

end of thread, other threads:[~2021-07-21 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-21 20:33 nolibc and __attribute__((__unused__)) Paul E. McKenney
2021-07-21 20:39 ` Willy Tarreau
2021-07-21 20:53   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox