Skip to contentSkip to conversation

sound: fix trivial build error in mpc5200_dma.c

PATCH Applied Paul Gortmaker 3 participants 6 messages Feb 25, 2012 – Feb 28, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: fix trivial build error in mpc5200_dma.c

Add the obvious header to fix this:

sound/soc/fsl/mpc5200_dma.c:301: error: implicit declaration of function 'DMA_BIT_MASK' sound/soc/fsl/mpc5200_dma.c:301: error: initializer element is not constant

---

[seen in linux-next-20120224 tree]

sound/soc/fsl/mpc5200_dma.c +1 -0
index 33adbf1..9a3f7c5 100644
@@ -8,6 +8,7 @@
 
 #include <linux/module.h>
 #include <linux/of_device.h>
+#include <linux/dma-mapping.h>
 #include <linux/slab.h>
 #include <linux/of_platform.h>
 
Signature · 1 line
1.7.9.1
Applied
#1 lore raw
Quoted 4 lines · Paul Gortmaker

Add the obvious header to fix this:

sound/soc/fsl/mpc5200_dma.c:301: error: implicit declaration of function 'DMA_BIT_MASK' sound/soc/fsl/mpc5200_dma.c:301: error: initializer element is not constant

Applied, thanks, but this does look like someone updating the headers needs to be chased as the driver hasn't changed here for years.

Please also try to use changelog headers consistent with the subsystem.

#2 lore raw
Quoted 1 line · Mark Brown

Please also try to use changelog headers consistent with the subsystem.

Can you explain what that means? What are "changelog headers"?

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#3 lore raw
Quoted 5 lines · Timur Tabi
Quoted 1 line · Mark Brown

Please also try to use changelog headers consistent with the subsystem.

Can you explain what that means? What are "changelog headers"?

The first line of the changelog which gets treated specially in various ways.

#4 lore raw
Quoted 9 lines · Mark Brown
Quoted 5 lines · Timur Tabi
Quoted 1 line · Mark Brown

Please also try to use changelog headers consistent with the subsystem.

Can you explain what that means?  What are "changelog headers"?

The first line of the changelog which gets treated specially in various ways.

Automated scripts? Something else? I'd be interested to know.

I have to admit being confused by this as well. I paged through the git whatchanged info, and guessed that I should have used a prefix like "ASoC: mpc5200_dma" (camelcase sic) but I think that to expect that level of awareness from general contributors is probably expecting a bit much. I like to think I'm not totally clueless, but I would have never thought of the above in advance...

In any case, if I have further fixups I happen across, I will try to feed your bots the correct prefix.

Paul.

#5 lore raw
Quoted 6 lines · Paul Gortmaker

On Mon, Feb 27, 2012 at 6:56 PM, Mark Brown

Quoted 2 lines

The first line of the changelog which gets treated specially in various ways.

Automated scripts? Something else? I'd be interested to know.

Things that use log summaries like git send-email and request-pull which pick out the first line of the changelog and do something different with it.

Quoted 6 lines

I have to admit being confused by this as well. I paged through the git whatchanged info, and guessed that I should have used a prefix like "ASoC: mpc5200_dma" (camelcase sic) but I think that to expect that level of awareness from general contributors is probably expecting a bit much. I like to think I'm not totally clueless, but I would have never thought of the above in advance...

Well, most people seem to manage to get it right (I expect on the basis that they write a log which looks like the other logs for the code). If you're thinking far enough to put a subsystem prefix on the commit log in the first place it seems reasonable to expect one that's in use rather than just creating one.

Quoted 2 lines

In any case, if I have further fixups I happen across, I will try to feed your bots the correct prefix.

It's nothing custom on my side, I only use the vanilla git porcelain (though I do do things like grepping mailing lists visually so when things aren't CCed properly I'm less likely to notice the mailing list version of them). I'd expect there are people with subject line based filters, though - patchwork might care for example.