tp_mib_stats?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in linux-next, drivers/infiniband/hw/cxgb3/iwch_provider.c contains:

static int iwch_get_mib(struct ib_device *ibdev, struct rdma_hw_stats *stats,
			u8 port, int index)
{
	struct iwch_dev *dev;
	struct tp_mib_stats m; ///// where is this struct defined?
	int ret;

which causes build errors:

../drivers/infiniband/hw/cxgb3/iwch_provider.c: In function 'iwch_get_mib':
../drivers/infiniband/hw/cxgb3/iwch_provider.c:1272:22: error: storage size of 'm' isn't known
  struct tp_mib_stats m;
                      ^

and then there is this (typo):
../drivers/infiniband/hw/cxgb3/iwch_provider.c:1305:80: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  stats->value[TCPINERRS] = ((u64)m.tcpRetransSeg_hi << 32) + m.tcpRetransSeg_lo,
                                                                                ^

Just s/,/;/ here.


Are fixes for these available?

thanks,
-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux