[LU-8776] fix weird inline definitions Created: 28/Oct/16 Updated: 23/Dec/16 Resolved: 23/Dec/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | Steve Guminski (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
There are a number of functions defined inline or 'inline static'. lnet/klnds/gnilnd/gnilnd_cb.c-304-
lnet/klnds/gnilnd/gnilnd_cb.c:305:inline __u16
lnet/klnds/gnilnd/gnilnd_cb.c-306-kgnilnd_cksum_kiov(unsigned int nkiov, lnet_kiov_t *kiov,
--
lnet/klnds/gnilnd/gnilnd_cb.c-1658-/* lets us know if we can push this RDMA through now */
lnet/klnds/gnilnd/gnilnd_cb.c:1659:inline int
lnet/klnds/gnilnd/gnilnd_cb.c-1660-kgnilnd_auth_rdma_bytes(kgn_device_t *dev, kgn_tx_t *tx)
--
lustre/contrib/wireshark/packet-lustre.c-1306-/* @gint col : the col where we add the information */
lustre/contrib/wireshark/packet-lustre.c:1307:inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
lustre/contrib/wireshark/packet-lustre.c-1308-{
--
lustre/obdclass/genops.c-1932-/* Takes pointer to payload area */
lustre/obdclass/genops.c:1933:inline void kuc_free(void *p, int payload_len)
lustre/obdclass/genops.c-1934-{
--
lustre/utils/gss/write_bytes.h-37-
lustre/utils/gss/write_bytes.h:38:inline static int
lustre/utils/gss/write_bytes.h-39-write_bytes(char **ptr, const char *end, const void *arg, int arg_len)
--
lustre/utils/gss/write_bytes.h-52-
lustre/utils/gss/write_bytes.h:53:inline static int
lustre/utils/gss/write_bytes.h-54-write_buffer(char **p, char *end, gss_buffer_desc *arg)
--
lustre/utils/gss/write_bytes.h-65-
lustre/utils/gss/write_bytes.h:66:inline static int
lustre/utils/gss/write_bytes.h-67-write_oid(char **p, char *end, gss_OID_desc *arg)
These should be converted to 'static inline', 'static', or just given default linkage where appropriate. |
| Comments |
| Comment by Joseph Gmitter (Inactive) [ 28/Oct/16 ] |
|
Hi Steve, Can you please have a look at this one? Thanks. |
| Comment by Steve Guminski (Inactive) [ 28/Oct/16 ] |
|
Sure, I'll add this to my queue. |
| Comment by Gerrit Updater [ 28/Nov/16 ] |
|
Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: http://review.whamcloud.com/23979 |
| Comment by Gerrit Updater [ 23/Dec/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23979/ |
| Comment by Peter Jones [ 23/Dec/16 ] |
|
Landed for 2.10 |