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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR03MB516846A1A4FD31515D98FA4BE726A@MN2PR03MB5168.namprd03.prod.outlook.com>
Date:   Mon, 26 Jun 2023 12:01:16 +0000
From:   "Sahin, Okan" <Okan.Sahin@...log.com>
To:     Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>,
        Julien Panis <jpanis@...libre.com>, Lee Jones <lee@...nel.org>
CC:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "kernel@...gutronix.de" <kernel@...gutronix.de>
Subject: RE: [PATCH] mfd: Switch two more drivers back to use struct
 i2c_driver::probe

>Sent: Monday, June 26, 2023 12:20 PM
>To: Julien Panis <jpanis@...libre.com>; Sahin, Okan <Okan.Sahin@...log.com>; Lee
>Jones <lee@...nel.org>
>Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>; linux-
>kernel@...r.kernel.org; kernel@...gutronix.de
>Subject: [PATCH] mfd: Switch two more drivers back to use struct i2c_driver::probe
>
>[External]
>
>struct i2c_driver::probe_new is about to go away. Switch the driver to
>use the probe callback with the same prototype.
>
>Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
>---
> drivers/mfd/max77541.c    | 2 +-
> drivers/mfd/tps6594-i2c.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/mfd/max77541.c b/drivers/mfd/max77541.c
>index 4a3bad3493b3..e147e949c2b3 100644
>--- a/drivers/mfd/max77541.c
>+++ b/drivers/mfd/max77541.c
>@@ -214,7 +214,7 @@ static struct i2c_driver max77541_driver = {
> 		.name = "max77541",
> 		.of_match_table = max77541_of_id,
> 	},
>-	.probe_new = max77541_probe,
>+	.probe = max77541_probe,
> 	.id_table = max77541_id,
> };
> module_i2c_driver(max77541_driver);
>diff --git a/drivers/mfd/tps6594-i2c.c b/drivers/mfd/tps6594-i2c.c
>index 50a3cd03b3b0..899c88c0fe77 100644
>--- a/drivers/mfd/tps6594-i2c.c
>+++ b/drivers/mfd/tps6594-i2c.c
>@@ -235,7 +235,7 @@ static struct i2c_driver tps6594_i2c_driver = {
> 		.name = "tps6594",
> 		.of_match_table = tps6594_i2c_of_match_table,
> 	},
>-	.probe_new = tps6594_i2c_probe,
>+	.probe = tps6594_i2c_probe,
> };
> module_i2c_driver(tps6594_i2c_driver);
>
>
>base-commit: e0cbc202388af454eb771043b20db6dfe68199ec
>--
>2.39.2

Hi Lee,

Should I update the code then resend patch again? Or should I send another patch after merge is completed?

Regards,
Okan Sahin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ