lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 21 Jul 2021 13:33:49 -0700
From:   "Paul E. McKenney" <paulmck@...nel.org>
To:     broonie@...nel.org
Cc:     w@....eu, linux-kernel@...r.kernel.org
Subject: nolibc and __attribute__((__unused__))

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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ