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: <20150622154305.GF16004@kroah.com>
Date:	Mon, 22 Jun 2015 08:43:05 -0700
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	Paul Bolle <pebolle@...cali.nl>
Cc:	linux-kernel@...r.kernel.org, stable@...r.kernel.org,
	Axel Lin <axel.lin@...ics.com>,
	Zhangfei Gao <zhangfei.gao@...aro.org>,
	Wolfram Sang <wsa@...-dreams.de>
Subject: Re: [PATCH 4.0 050/105] i2c: hix5hd2: Fix modalias to make module
 auto-loading work

On Mon, Jun 22, 2015 at 04:23:02PM +0200, Paul Bolle wrote:
> On Fri, 2015-06-19 at 13:35 -0700, Greg Kroah-Hartman wrote:
> > Make the modalias match driver name, this is required to make module
> > auto-loading work.
> > 
> > Signed-off-by: Axel Lin <axel.lin@...ics.com>
> > Acked-by: Zhangfei Gao <zhangfei.gao@...aro.org>
> > Signed-off-by: Wolfram Sang <wsa@...-dreams.de>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> > 
> > ---
> >  drivers/i2c/busses/i2c-hix5hd2.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > --- a/drivers/i2c/busses/i2c-hix5hd2.c
> > +++ b/drivers/i2c/busses/i2c-hix5hd2.c
> > @@ -554,4 +554,4 @@ module_platform_driver(hix5hd2_i2c_drive
> >  MODULE_DESCRIPTION("Hix5hd2 I2C Bus driver");
> >  MODULE_AUTHOR("Wei Yan <sledge.yanwei@...wei.com>");
> >  MODULE_LICENSE("GPL");
> > -MODULE_ALIAS("platform:i2c-hix5hd2");
> > +MODULE_ALIAS("platform:hix5hd2-i2c");
> 
> How does this work?

Like all platform module aliases do, this isn't a new feature...

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ