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]
Date:	Thu, 28 Jan 2016 09:53:37 +0100 (CET)
From:	Jiri Kosina <jikos@...nel.org>
To:	Piotr Sawuk <a9702387@...t.univie.ac.at>
cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [Patch] hid: enhance hid-saitek for use with R.A.T.5 and 
 similar

On Thu, 28 Jan 2016, Piotr Sawuk wrote:

> >> +	hdev = container_of(dev, struct hid_device, dev);
> >
> > You can use to_hid_device() here.
> 
> sorry, didn't notice that recent addition.
> my new patch wont work against older kernel versions though...

The only thing that really matters is that it works with the kernel it's 
being applied to and pushed upstream.

If anyone wants to backport it later to some older kernel, as part of a 
backport he'd have to open-code to_hide_device() ... no big deal.

Thanks,

-- 
Jiri Kosina
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ