Bruce Richardson 11f51a26d3 eal/bsd: fix build on FreeBSD
Compilation on FreeBSD with clang was broken, giving the error message:

lib/librte_eal/bsdapp/eal/eal_pci.c:438:16: fatal error: assigning to
  'struct rte_pci_id *' from 'const struct rte_pci_id *' discards qualifiers
  [-Wincompatible-pointer-types-discards-qualifiers]
    for (id_table = dr->id_table ; id_table->vendor_id != 0; id_table++) {
                  ^ ~~~~~~~~~~~~

This patch fixes the issue by adding "const" to the type of id_table.

Fixes: 6065355a03fc ("pci: make device id tables const")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2015-05-11 15:45:27 +02:00
2015-04-13 21:48:27 +02:00
2015-04-29 18:34:58 +02:00
2015-05-11 15:45:27 +02:00
2015-04-20 14:37:22 +02:00
2015-04-03 16:13:45 +02:00
2015-04-13 22:50:09 +02:00
2015-03-23 14:29:31 +01:00
2013-03-07 10:57:42 +01:00
2013-07-25 14:43:06 +02:00
2015-04-13 22:50:09 +02:00
2014-06-11 00:29:34 +02:00
Description
No description provided
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%