Skip to contentSkip to conversation

linux-next: build failure after merge of the crypto tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 17, 2015

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

Hi Herbert,

After merging the crypto tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/crypto/img-hash.c: At top level:
drivers/crypto/img-hash.c:878:1: error: expected ',' or ';' before 'static'
static int img_hash_probe(struct platform_device *pdev)
^

Caused by commit d358f1abbf71 ("crypto: img-hash - Add Imagination Technologies hw hash accelerator").

I have used the crypto tree from next-20150316 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
maintainer
#1 lore raw
Quoted 11 lines · Stephen Rothwell

After merging the crypto tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/crypto/img-hash.c: At top level:
drivers/crypto/img-hash.c:878:1: error: expected ',' or ';' before 'static'
static int img_hash_probe(struct platform_device *pdev)
^

Caused by commit d358f1abbf71 ("crypto: img-hash - Add Imagination Technologies hw hash accelerator").

Thanks for the report Stephen, I'll merge this patch to fix it.

---8<---
imghash: Add missing semicolon to fix build error

There is a missing semicolon after MODULE_DEVICE_TABLE.

drivers/crypto/img-hash.c +1 -1
index 0274172..fec61fc 100644
@@ -873,7 +873,7 @@ static const struct of_device_id img_hash_match[] = {
 	{ .compatible = "img,hash-accelerator" },
 	{}
 };
-MODULE_DEVICE_TABLE(of, img_hash_match)
+MODULE_DEVICE_TABLE(of, img_hash_match);
 
 static int img_hash_probe(struct platform_device *pdev)
 {
Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt