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: <20130312111246.GD12700@titan.lakedaemon.net>
Date:	Tue, 12 Mar 2013 07:12:46 -0400
From:	Jason Cooper <jason@...edaemon.net>
To:	Andrew Lunn <andrew@...n.ch>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Jingoo Han <jg1.han@...sung.com>,
	Olof Johansson <olof@...om.net>, Arnd Bergmann <arnd@...db.de>,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: linux-next: manual merge of the akpm tree with the arm-soc tree

On Tue, Mar 12, 2013 at 07:25:09AM +0100, Andrew Lunn wrote:
> On Tue, Mar 12, 2013 at 02:47:14PM +1100, Stephen Rothwell wrote:
> > Hi Andrew,
> > 
> > Today's linux-next merge of the akpm tree got a conflict in
> > drivers/rtc/rtc-mv.c between commit 89c58c198b25 ("rtc: rtc-mv: Add
> > support for clk to avoid lockups") from the arm-soc tree and commit "rtc:
> > rtc-mv: use devm_rtc_device_register()" from the akpm tree.
> > 
> > I fixed it up (I think - see below) and can carry the fix as necessary
> > (no action is required).
> 
> Hi Stephan
> 
> Looks O.K. to me.
> 
> Acked-by: Andrew Lunn <andrew@...n.ch>

Same here,

Acked-by: Jason Cooper <jason@...edaemon.net>

> 
> > 
> > -- 
> > Cheers,
> > Stephen Rothwell                    sfr@...b.auug.org.au
> > 
> > diff --cc drivers/rtc/rtc-mv.c
> > index f378e17,1ee8551..0000000
> > --- a/drivers/rtc/rtc-mv.c
> > +++ b/drivers/rtc/rtc-mv.c
> > @@@ -272,16 -262,15 +272,17 @@@ static int __init mv_rtc_probe(struct p
> >   
> >   	if (pdata->irq >= 0) {
> >   		device_init_wakeup(&pdev->dev, 1);
> > - 		pdata->rtc = rtc_device_register(pdev->name, &pdev->dev,
> > + 		pdata->rtc = devm_rtc_device_register(&pdev->dev, pdev->name,
> >   						 &mv_rtc_alarm_ops,
> >   						 THIS_MODULE);
> > - 	} else
> > - 		pdata->rtc = rtc_device_register(pdev->name, &pdev->dev,
> > + 	} else {
> > + 		pdata->rtc = devm_rtc_device_register(&pdev->dev, pdev->name,
> >   						 &mv_rtc_ops, THIS_MODULE);
> > + 	}
> >  -	if (IS_ERR(pdata->rtc))
> >  -		return PTR_ERR(pdata->rtc);
> >  +	if (IS_ERR(pdata->rtc)) {
> >  +		ret = PTR_ERR(pdata->rtc);
> >  +		goto out;
> >  +	}
> >   
> >   	if (pdata->irq >= 0) {
> >   		writel(0, pdata->ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS);
> > @@@ -308,10 -292,6 +309,9 @@@ static int __exit mv_rtc_remove(struct 
> >   	if (pdata->irq >= 0)
> >   		device_init_wakeup(&pdev->dev, 0);
> >   
> > - 	rtc_device_unregister(pdata->rtc);
> >  +	if (!IS_ERR(pdata->clk))
> >  +		clk_disable_unprepare(pdata->clk);
> >  +
> >   	return 0;
> >   }
> >   
> 
> 
--
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