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
| ||
|
Date: Fri, 16 Oct 2015 22:32:02 +0200 From: Arnd Bergmann <arnd@...db.de> To: Mauro Carvalho Chehab <mchehab@....samsung.com>, linux-media@...r.kernel.org Cc: Sergey Kozlov <serjk@...up.ru>, linux-kernel@...r.kernel.org Subject: [PATCH] [media] lnbh25: fix lnbh25_attach inline wrapper The 'static inline' version of lnbh25_attach() has an incorrect prototype which results in a build error when CONFIG_DVB_LNBH25 is disabled: In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0: /git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend' This changes the code to have the correct prototype. Signed-off-by: Arnd Bergmann <arnd@...db.de> Fixes: e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver") --- Found on ARM randconfig builds diff --git a/drivers/media/dvb-frontends/lnbh25.h b/drivers/media/dvb-frontends/lnbh25.h index 69f30e21f6b3..1f329ef05acc 100644 --- a/drivers/media/dvb-frontends/lnbh25.h +++ b/drivers/media/dvb-frontends/lnbh25.h @@ -43,7 +43,7 @@ struct dvb_frontend *lnbh25_attach( struct lnbh25_config *cfg, struct i2c_adapter *i2c); #else -static inline dvb_frontend *lnbh25_attach( +static inline struct dvb_frontend *lnbh25_attach( struct dvb_frontend *fe, struct lnbh25_config *cfg, struct i2c_adapter *i2c) -- 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