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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Aug 2011 09:32:52 +0200
From:	Benjamin Tissoires <benjamin.tissoires@...il.com>
To:	jeffbrown@...roid.com
Cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
	jkosina@...e.cz, rydberg@...omail.se
Subject: Re: [PATCH] hid-debug: Show application usage for each collection.

On Tue, Aug 16, 2011 at 01:39,  <jeffbrown@...roid.com> wrote:
> From: Jeff Brown <jeffbrown@...roid.com>

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@...itech.com>

>
> Signed-off-by: jeffbrown@...roid.com
> ---
>  drivers/hid/hid-debug.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
> index bae4874..9a243ca 100644
> --- a/drivers/hid/hid-debug.c
> +++ b/drivers/hid/hid-debug.c
> @@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) {
>                seq_printf(f, "Logical(");
>                hid_resolv_usage(field->logical, f); seq_printf(f, ")\n");
>        }
> +       if (field->application) {
> +               tab(n, f);
> +               seq_printf(f, "Application(");
> +               hid_resolv_usage(field->application, f); seq_printf(f, ")\n");
> +       }
>        tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage);
>        for (j = 0; j < field->maxusage; j++) {
>                tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n");
> --
> 1.7.0.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
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