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-prev] [day] [month] [year] [list]
Message-ID: <CANLsYky7DE2ej3vvk59p0bCX5B295sRKHpvrEfXVLvfr71jFxg@mail.gmail.com>
Date:	Fri, 2 Jan 2015 08:08:54 -0700
From:	Mathieu Poirier <mathieu.poirier@...aro.org>
To:	Kaixu Xia <xiakaixu@...wei.com>
Cc:	Greg KH <gregkh@...uxfoundation.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Pratik Patel <pratikp@...eaurora.org>
Subject: Re: [PATCH] coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY

On 30 December 2014 at 04:07, Kaixu Xia <xiakaixu@...wei.com> wrote:
> From: Xia Kaixu <xiakaixu@...wei.com>
>
> Debugfs isn't used for coresight configuration, so the macro
> CORESIGHT_DEBUGFS_ENTRY is unnecessary, just remove it.
>
> Signed-off-by: Xia Kaixu <xiakaixu@...wei.com>
> ---
>  include/linux/coresight.h | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/include/linux/coresight.h b/include/linux/coresight.h
> index 5d3c543..7cbfecb 100644
> --- a/include/linux/coresight.h
> +++ b/include/linux/coresight.h
> @@ -179,15 +179,6 @@ struct coresight_device {
>  #define sink_ops(csdev)                csdev->ops->sink_ops
>  #define link_ops(csdev)                csdev->ops->link_ops
>
> -#define CORESIGHT_DEBUGFS_ENTRY(__name, __entry_name,                  \
> -                                __mode, __get, __set, __fmt)           \
> -DEFINE_SIMPLE_ATTRIBUTE(__name ## _ops, __get, __set, __fmt);          \
> -static const struct coresight_ops_entry __name ## _entry = {           \
> -       .name = __entry_name,                                           \
> -       .mode = __mode,                                                 \
> -       .ops  = &__name ## _ops                                         \
> -}
> -
>  /**
>   * struct coresight_ops_sink - basic operations for a sink
>   * Operations available for sinks
> --
> 2.2.1
>

Applied - thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ