Actions
Bug #5328
openMissing extern for inline functions
Start date:
10/13/2014
Due date:
% Done:
0%
Estimated time:
Detected in build:
2c42610
Platform:
Published in build:
Description
The kernel code contains extern inline function declarations, e.g. drivers/staging/rts5208/rtsx_transport.h
49 extern inline u8 *rtsx_get_cmd_data(struct rtsx_chip *chip)
50 {
51 #ifdef CMD_USING_SG
52 return (u8 *)(chip->host_sg_tbl_ptr);
53 #else
54 return (u8 *)(chip->host_cmds_ptr);
55 #endif
56 }
CIF prints these declarations without extern, and GCC returns an error
The other examples are in drivers/staging/rtl8192e/rtllib.h
extern inline void rtllib_increment_scans(struct rtllib_device *ieee)
extern inline int rtllib_get_scans(struct rtllib_device *ieee)
Updated by Evgeny Novikov about 10 years ago
- Status changed from New to Open
- Assignee set to Evgeny Novikov
As far as I remember C-backend doesn't print keyword extern at all. Usually this even doesn't lead to warnings but this isn't the case here.
Updated by Evgeny Novikov almost 9 years ago
- Category set to C back-end
- Priority changed from Normal to High
Actions