Re: [dpdk-dev] [PATCH v3] test/hash: solve unit test hash compilation error

2018-11-05 Thread Thomas Monjalon
26/10/2018 23:43, Dharmik Thakkar: > Enable print_key_info() function compilation always. > > Compilation error message: > 'test_hash.c: In function ‘print_key_info’: > test_hash.c:90:15: error: cast discards ‘const’ qualifier from pointer > target type [-Werror=cast-qual] > uint8_t *p = (uint8_

[dpdk-dev] [PATCH v3] test/hash: solve unit test hash compilation error

2018-10-26 Thread Dharmik Thakkar
Enable print_key_info() function compilation always. Compilation error message: 'test_hash.c: In function ‘print_key_info’: test_hash.c:90:15: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual] uint8_t *p = (uint8_t *)key; ^ cc1: all warnings being