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:   Mon, 29 Jul 2019 16:23:38 +0300
From:   Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To:     Jean Delvare <jdelvare@...e.de>,
        Chuhong Yuan <hslester96@...il.com>
Cc:     linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: busses: Use dev_get_drvdata where possible

On 7/23/19 9:34 PM, Jean Delvare wrote:
> On Tue, 23 Jul 2019 19:11:10 +0800, Chuhong Yuan wrote:
>> Instead of using to_pci_dev + pci_get_drvdata,
>> use dev_get_drvdata to make code simpler.
>>
>> Signed-off-by: Chuhong Yuan <hslester96@...il.com>
>> ---
>>   drivers/i2c/busses/i2c-designware-pcidrv.c | 6 ++----
>>   drivers/i2c/busses/i2c-i801.c              | 3 +--
>>   2 files changed, 3 insertions(+), 6 deletions(-)
>> (...)
> 
> Looks good to me, thanks.
> 
> Reviewed-by: Jean Delvare <jdelvare@...e.de>
> 
For the i2c-designware-pcidrv.c

Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ