* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c.
@ 2013-12-31 10:51 Krzysztof Hałasa
2013-12-31 13:48 ` Gerhard Sittig
2014-01-01 6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu
0 siblings, 2 replies; 13+ messages in thread
From: Krzysztof Hałasa @ 2013-12-31 10:51 UTC (permalink / raw)
To: linux-arm-kernel
drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init':
drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function)
Now builds. Not tested on real hw.
Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl>
--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -1410,14 +1410,12 @@ static const struct platform_device_info ixp_dev_info __initdata = {
static int __init ixp_module_init(void)
{
int num = ARRAY_SIZE(ixp4xx_algos);
- int i, err ;
+ int i, err;
pdev = platform_device_register_full(&ixp_dev_info);
if (IS_ERR(pdev))
return PTR_ERR(pdev);
- dev = &pdev->dev;
-
spin_lock_init(&desc_lock);
spin_lock_init(&emerg_lock);
--
Krzysztof Halasa
Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
^ permalink raw reply [flat|nested] 13+ messages in thread* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 10:51 [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Krzysztof Hałasa @ 2013-12-31 13:48 ` Gerhard Sittig 2013-12-31 18:01 ` Randy Dunlap 2013-12-31 18:14 ` Russell King - ARM Linux 2014-01-01 6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu 1 sibling, 2 replies; 13+ messages in thread From: Gerhard Sittig @ 2013-12-31 13:48 UTC (permalink / raw) To: linux-arm-kernel On Tue, Dec 31, 2013 at 11:51 +0100, Krzysztof Ha?asa wrote: > > drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init': > drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function) > > Now builds. Not tested on real hw. > > Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl> I understood that a 'Fixes: <hash> <subject>' line is suggested when you can clearly identify what broke what you fix. Is it 27c1789ca6a6 "DMA-API: crypto: remove last references to 'static struct device *dev'"? Then v3.13-rc1 would have been affected. > --- a/drivers/crypto/ixp4xx_crypto.c > +++ b/drivers/crypto/ixp4xx_crypto.c > @@ -1410,14 +1410,12 @@ static const struct platform_device_info ixp_dev_info __initdata = { > static int __init ixp_module_init(void) > { > int num = ARRAY_SIZE(ixp4xx_algos); > - int i, err ; > + int i, err; > > pdev = platform_device_register_full(&ixp_dev_info); > if (IS_ERR(pdev)) > return PTR_ERR(pdev); > > - dev = &pdev->dev; > - > spin_lock_init(&desc_lock); > spin_lock_init(&emerg_lock); virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 13:48 ` Gerhard Sittig @ 2013-12-31 18:01 ` Randy Dunlap 2014-01-01 12:37 ` Gerhard Sittig 2013-12-31 18:14 ` Russell King - ARM Linux 1 sibling, 1 reply; 13+ messages in thread From: Randy Dunlap @ 2013-12-31 18:01 UTC (permalink / raw) To: linux-arm-kernel On 12/31/13 05:48, Gerhard Sittig wrote: > On Tue, Dec 31, 2013 at 11:51 +0100, Krzysztof Ha?asa wrote: >> >> drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init': >> drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function) >> >> Now builds. Not tested on real hw. >> >> Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl> > > I understood that a 'Fixes: <hash> <subject>' line is suggested when > you can clearly identify what broke what you fix. Is it 27c1789ca6a6 > "DMA-API: crypto: remove last references to 'static struct device *dev'"? > Then v3.13-rc1 would have been affected. is 'Fixes: <whatever>' documented somewhere? thanks, -- ~Randy ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 18:01 ` Randy Dunlap @ 2014-01-01 12:37 ` Gerhard Sittig 2014-01-01 12:46 ` Russell King - ARM Linux 0 siblings, 1 reply; 13+ messages in thread From: Gerhard Sittig @ 2014-01-01 12:37 UTC (permalink / raw) To: linux-arm-kernel On Tue, Dec 31, 2013 at 10:01 -0800, Randy Dunlap wrote: > > On 12/31/13 05:48, Gerhard Sittig wrote: > > On Tue, Dec 31, 2013 at 11:51 +0100, Krzysztof Ha?asa wrote: > >> > >> drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init': > >> drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function) > >> > >> Now builds. Not tested on real hw. > >> > >> Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl> > > > > I understood that a 'Fixes: <hash> <subject>' line is suggested when > > you can clearly identify what broke what you fix. Is it 27c1789ca6a6 > > "DMA-API: crypto: remove last references to 'static struct device *dev'"? > > Then v3.13-rc1 would have been affected. > > is 'Fixes: <whatever>' documented somewhere? Last time I checked (few days ago, 'git grep -w Fixes:') it wasn't, at least not within the kernel source tree and its Documentation hierarchy. Today's master still does not have it. But a quick search in recent LAKML messages reveals that it's been in use by e.g. Olof Johansson, Jason Cooper, Rusty Russell, Dan Carpenter, Russell King, Mark Brown, Stephen Warren, Paul Walmsley, and I'm not making this up but am just referring to what repeatedly was requested in the past. The form used there was "Fixes: <hash> (<oneline>)" though. A doc update may be due to have a canonical format. I do see the benefit of this tag, as it does not hide this information in the commit message's prose, makes submitters think about that property in more explicit ways and makes them provide the information such that others need not do the research, and greatly helps those involved in tests and release management to determine affected versions and required actions that need to be taken. The tag is very useful. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2014-01-01 12:37 ` Gerhard Sittig @ 2014-01-01 12:46 ` Russell King - ARM Linux 2014-01-02 0:25 ` Jason Cooper 0 siblings, 1 reply; 13+ messages in thread From: Russell King - ARM Linux @ 2014-01-01 12:46 UTC (permalink / raw) To: linux-arm-kernel On Wed, Jan 01, 2014 at 01:37:46PM +0100, Gerhard Sittig wrote: > Last time I checked (few days ago, 'git grep -w Fixes:') it > wasn't, at least not within the kernel source tree and its > Documentation hierarchy. Today's master still does not have it. > > But a quick search in recent LAKML messages reveals that it's > been in use by e.g. Olof Johansson, Jason Cooper, Rusty Russell, > Dan Carpenter, Russell King, Mark Brown, Stephen Warren, Paul > Walmsley, and I'm not making this up but am just referring to > what repeatedly was requested in the past. The form used there > was "Fixes: <hash> (<oneline>)" though. A doc update may be due > to have a canonical format. It was discussed at kernel summit, and I believe the resulting format was only published in one of the kernel summit mailing lists. The outcome of it as I understand was that the format is: Fixes: <hash> ("<one line summary>") Though the addition of the quotes was (iirc) only something added after the vocal discussion. If you mail Linus a patch with a fixes line which doesn't match that, Linus will probably fix it up... (Linus has done that with one of mine in the past.) ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2014-01-01 12:46 ` Russell King - ARM Linux @ 2014-01-02 0:25 ` Jason Cooper 0 siblings, 0 replies; 13+ messages in thread From: Jason Cooper @ 2014-01-02 0:25 UTC (permalink / raw) To: linux-arm-kernel On Wed, Jan 01, 2014 at 12:46:25PM +0000, Russell King - ARM Linux wrote: > On Wed, Jan 01, 2014 at 01:37:46PM +0100, Gerhard Sittig wrote: > > Last time I checked (few days ago, 'git grep -w Fixes:') it > > wasn't, at least not within the kernel source tree and its > > Documentation hierarchy. Today's master still does not have it. > > > > But a quick search in recent LAKML messages reveals that it's > > been in use by e.g. Olof Johansson, Jason Cooper, Rusty Russell, > > Dan Carpenter, Russell King, Mark Brown, Stephen Warren, Paul > > Walmsley, and I'm not making this up but am just referring to > > what repeatedly was requested in the past. The form used there > > was "Fixes: <hash> (<oneline>)" though. A doc update may be due > > to have a canonical format. > > It was discussed at kernel summit, and I believe the resulting format > was only published in one of the kernel summit mailing lists. The > outcome of it as I understand was that the format is: > > Fixes: <hash> ("<one line summary>") fwiw, Linus also recommended setting core.abbrev = 12. thx, Jason. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 13:48 ` Gerhard Sittig 2013-12-31 18:01 ` Randy Dunlap @ 2013-12-31 18:14 ` Russell King - ARM Linux 2014-01-01 12:18 ` Gerhard Sittig 1 sibling, 1 reply; 13+ messages in thread From: Russell King - ARM Linux @ 2013-12-31 18:14 UTC (permalink / raw) To: linux-arm-kernel Please get rid of your Mail-Followup-To: header: Mail-Followup-To: Krzysztof Ha?asa <khalasa@piap.pl>, lkml <linux-kernel@vger.kernel.org>, linux-arm-kernel at lists.infradead.org, Russell King <rmk+kernel@arm.linux.org.uk>, Christian Hohnstaedt <chohnstaedt@innominate.com>, Herbert Xu <herbert@gondor.apana.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) It causes all recipients following the thread to be moved into the To: header when someone replies to one of your messages, which is deemed to be anti-social. You can kill this header by adding: set followup_to=no to your .muttrc file. Thanks. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 18:14 ` Russell King - ARM Linux @ 2014-01-01 12:18 ` Gerhard Sittig 2014-01-02 8:42 ` About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] Uwe Kleine-König 0 siblings, 1 reply; 13+ messages in thread From: Gerhard Sittig @ 2014-01-01 12:18 UTC (permalink / raw) To: linux-arm-kernel On Tue, Dec 31, 2013 at 18:14 +0000, Russell King - ARM Linux wrote: > > Please get rid of your Mail-Followup-To: header: > > Mail-Followup-To: Krzysztof Ha?asa <khalasa@piap.pl>, > lkml <linux-kernel@vger.kernel.org>, > linux-arm-kernel at lists.infradead.org, > Russell King <rmk+kernel@arm.linux.org.uk>, > Christian Hohnstaedt <chohnstaedt@innominate.com>, > Herbert Xu <herbert@gondor.apana.org.au> > User-Agent: Mutt/1.5.21 (2010-09-15) > > It causes all recipients following the thread to be moved into the To: > header when someone replies to one of your messages, which is deemed to > be anti-social. You can kill this header by adding: > > set followup_to=no > > to your .muttrc file. Thank you for telling me, I was not aware. Had no MFT related setting in my config, learned from the manual that $followup_to defaults to yes, have turned it off now. Other mutt users may want to check as well. Happy new year! :) virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ^ permalink raw reply [flat|nested] 13+ messages in thread
* About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] 2014-01-01 12:18 ` Gerhard Sittig @ 2014-01-02 8:42 ` Uwe Kleine-König 2014-01-02 10:35 ` Russell King - ARM Linux 2014-01-02 17:51 ` Mark Brown 0 siblings, 2 replies; 13+ messages in thread From: Uwe Kleine-König @ 2014-01-02 8:42 UTC (permalink / raw) To: linux-arm-kernel On Wed, Jan 01, 2014 at 01:18:22PM +0100, Gerhard Sittig wrote: > On Tue, Dec 31, 2013 at 18:14 +0000, Russell King - ARM Linux wrote: > > > > Please get rid of your Mail-Followup-To: header: > > > > Mail-Followup-To: Krzysztof Ha?asa <khalasa@piap.pl>, > > lkml <linux-kernel@vger.kernel.org>, > > linux-arm-kernel at lists.infradead.org, > > Russell King <rmk+kernel@arm.linux.org.uk>, > > Christian Hohnstaedt <chohnstaedt@innominate.com>, > > Herbert Xu <herbert@gondor.apana.org.au> > > User-Agent: Mutt/1.5.21 (2010-09-15) > > > > It causes all recipients following the thread to be moved into the To: > > header when someone replies to one of your messages, which is deemed to > > be anti-social. You can kill this header by adding: > > > > set followup_to=no > > > > to your .muttrc file. > > Thank you for telling me, I was not aware. Had no MFT related > setting in my config, learned from the manual that $followup_to > defaults to yes, have turned it off now. Other mutt users may > want to check as well. Happy new year! :) I have # set followup_to = yes in my .mutt/muttrc---so I'm using the default---but I'm still unaffected. I think this is because I don't have any lists specified (using the lists and subscribe commands). And note that there are lists that consider using MFT to be good, ISTR that it applies to *@lists.debian.org, but cannot currently find a reference to support that claim. The problem is that using MFT only works if all recipents are using and respecting it. If Russell is annoyed in general by MFT, he could unset honor_followup_to. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 13+ messages in thread
* About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] 2014-01-02 8:42 ` About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] Uwe Kleine-König @ 2014-01-02 10:35 ` Russell King - ARM Linux 2014-01-02 18:33 ` Borislav Petkov 2014-01-02 17:51 ` Mark Brown 1 sibling, 1 reply; 13+ messages in thread From: Russell King - ARM Linux @ 2014-01-02 10:35 UTC (permalink / raw) To: linux-arm-kernel On Thu, Jan 02, 2014 at 09:42:52AM +0100, Uwe Kleine-K?nig wrote: > I have > > # set followup_to = yes > > in my .mutt/muttrc---so I'm using the default---but I'm still > unaffected. I think this is because I don't have any lists specified > (using the lists and subscribe commands). And note that there are lists > that consider using MFT to be good, ISTR that it applies to > *@lists.debian.org, but cannot currently find a reference to support > that claim. The problem is that using MFT only works if all recipents > are using and respecting it. Your last statement is total rubbish. This header is seen by the mainstream Linux community as being totally evil. > If Russell is annoyed in general by MFT, he could unset > honor_followup_to. And how does that stop the problem when someone *else* replies to the message with a Mail-Followup-To? FYI, I was hounded off LKML for having that header set. When people have this header set, and people reply to such a message, all recipients get moved into the To: header. This makes it impossible on high traffic lists for people to prioritise their reading of messages according to whether they're in the To: header or just in the Cc: header. Being in the To: header means that someone is directing the message *AT* you and wanting *YOU* to do something with it. Being in the Cc: is more "for information" and so takes a lower priority. Hence, when someone replies to a message, and their mail client ends up moving all recipients into the To: header, it completely destroys the ability to prioritise the reading. So, either we adopt the same position here as the rest of the Linux community wrt this header, or I'm just going to read messages on the list at random, completely ignoring whether I'm in the To: header or not. What that means is that there will have *no way* to attract my attention to any email message - since I will not care one bit whether I'm listed me in the To: header or not. And no, you are NOT going to pester me on IRC each time. -- FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit". ^ permalink raw reply [flat|nested] 13+ messages in thread
* About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] 2014-01-02 10:35 ` Russell King - ARM Linux @ 2014-01-02 18:33 ` Borislav Petkov 0 siblings, 0 replies; 13+ messages in thread From: Borislav Petkov @ 2014-01-02 18:33 UTC (permalink / raw) To: linux-arm-kernel On Thu, Jan 02, 2014 at 10:35:22AM +0000, Russell King - ARM Linux wrote: > And how does that stop the problem when someone *else* replies to the > message with a Mail-Followup-To? FYI, I was hounded off LKML for having > that header set. > > When people have this header set, and people reply to such a message, all > recipients get moved into the To: header. This makes it impossible on > high traffic lists for people to prioritise their reading of messages > according to whether they're in the To: header or just in the Cc: header. > > Being in the To: header means that someone is directing the message *AT* > you and wanting *YOU* to do something with it. Being in the Cc: is more > "for information" and so takes a lower priority. Totally agreed. That MFT thing might've been a good idea at the time but in reality it causes more problems than it solves, with our usage patterns. I've started ignoring it and would suggest people simply drop all those "lists/subsribe" directives in their .muttrc. Thanks. ^ permalink raw reply [flat|nested] 13+ messages in thread
* About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] 2014-01-02 8:42 ` About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] Uwe Kleine-König 2014-01-02 10:35 ` Russell King - ARM Linux @ 2014-01-02 17:51 ` Mark Brown 1 sibling, 0 replies; 13+ messages in thread From: Mark Brown @ 2014-01-02 17:51 UTC (permalink / raw) To: linux-arm-kernel On Thu, Jan 02, 2014 at 09:42:52AM +0100, Uwe Kleine-K?nig wrote: > (using the lists and subscribe commands). And note that there are lists > that consider using MFT to be good, ISTR that it applies to > *@lists.debian.org, but cannot currently find a reference to support > that claim. The problem is that using MFT only works if all recipents > are using and respecting it. No, Debian specifically wants replies to be sent to the list only but it's not really related to Mail-Followup-To - I don't think there's a general feeling on that within Debian but ICBW. The thing about reply to list predates the invention of MFT. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140102/e7c27c65/attachment-0001.sig> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c. 2013-12-31 10:51 [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Krzysztof Hałasa 2013-12-31 13:48 ` Gerhard Sittig @ 2014-01-01 6:06 ` Herbert Xu 1 sibling, 0 replies; 13+ messages in thread From: Herbert Xu @ 2014-01-01 6:06 UTC (permalink / raw) To: linux-arm-kernel On Tue, Dec 31, 2013 at 11:51:16AM +0100, Krzysztof Ha?asa wrote: > drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init': > drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function) > > Now builds. Not tested on real hw. > > Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl> Patch applied. Thanks! -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-01-02 18:33 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-12-31 10:51 [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Krzysztof Hałasa 2013-12-31 13:48 ` Gerhard Sittig 2013-12-31 18:01 ` Randy Dunlap 2014-01-01 12:37 ` Gerhard Sittig 2014-01-01 12:46 ` Russell King - ARM Linux 2014-01-02 0:25 ` Jason Cooper 2013-12-31 18:14 ` Russell King - ARM Linux 2014-01-01 12:18 ` Gerhard Sittig 2014-01-02 8:42 ` About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] Uwe Kleine-König 2014-01-02 10:35 ` Russell King - ARM Linux 2014-01-02 18:33 ` Borislav Petkov 2014-01-02 17:51 ` Mark Brown 2014-01-01 6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).