* [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 @ 2019-05-01 19:50 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson ` (5 more replies) 0 siblings, 6 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson This set of changes fixes warnings seen when compiling DPDK on Fedora 30. In most cases these warnings appear to be false positives, which means we have the option to just disable the warning. Because the changes required to the code to silence the warnings are fairly small I've chosen in all cases to change the code rather than disable the warnings, but I'm open to doing the opposite if it's felt it's a better solution. [One thing I didn't like about disabling the warnings is that the disabling flags are not supported by clang, so adding them involves compiler checks :-(] NOTE: this set does not cover all warnings with GCC9, but it does cover those seen when building with meson. There is still one warning disable flag needed when building with make, which will need a follow-on set to fix. Bruce Richardson (4): net/ixgbe: fix warning with GCC 9 on Fedora 30 bus/fslmc: fix printf of null pointer raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC " Bruce Richardson ` (4 subsequent siblings) 5 siblings, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson This set of changes fixes warnings seen when compiling DPDK on Fedora 30. In most cases these warnings appear to be false positives, which means we have the option to just disable the warning. Because the changes required to the code to silence the warnings are fairly small I've chosen in all cases to change the code rather than disable the warnings, but I'm open to doing the opposite if it's felt it's a better solution. [One thing I didn't like about disabling the warnings is that the disabling flags are not supported by clang, so adding them involves compiler checks :-(] NOTE: this set does not cover all warnings with GCC9, but it does cover those seen when building with meson. There is still one warning disable flag needed when building with make, which will need a follow-on set to fix. Bruce Richardson (4): net/ixgbe: fix warning with GCC 9 on Fedora 30 bus/fslmc: fix printf of null pointer raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer Bruce Richardson ` (3 subsequent siblings) 5 siblings, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, vladz Compiling on Fedora 30, we get the following warning, causing build failure when Werror flag is set: ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2141 | rxe->mbuf = nmb; | ~~~~~~~~~~^~~~~ Initializing the value to "NULL" fixes the issue. Fixes: 8eecb3295aed ("ixgbe: add LRO support") Cc: vladz@cloudius-systems.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index e71d3c188..1fbc754ae 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -2029,7 +2029,7 @@ ixgbe_recv_pkts_lro(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts, struct ixgbe_rx_entry *next_rxe = NULL; struct rte_mbuf *first_seg; struct rte_mbuf *rxm; - struct rte_mbuf *nmb; + struct rte_mbuf *nmb = NULL; union ixgbe_adv_rx_desc rxd; uint16_t data_len; uint16_t next_id; -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC " Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, vladz Compiling on Fedora 30, we get the following warning, causing build failure when Werror flag is set: ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2141 | rxe->mbuf = nmb; | ~~~~~~~~~~^~~~~ Initializing the value to "NULL" fixes the issue. Fixes: 8eecb3295aed ("ixgbe: add LRO support") Cc: vladz@cloudius-systems.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index e71d3c188..1fbc754ae 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -2029,7 +2029,7 @@ ixgbe_recv_pkts_lro(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts, struct ixgbe_rx_entry *next_rxe = NULL; struct rte_mbuf *first_seg; struct rte_mbuf *rxm; - struct rte_mbuf *nmb; + struct rte_mbuf *nmb = NULL; union ixgbe_adv_rx_desc rxd; uint16_t data_len; uint16_t next_id; -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC " Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson @ 2019-05-02 12:20 ` David Marchand 2019-05-02 12:20 ` David Marchand 1 sibling, 1 reply; 32+ messages in thread From: David Marchand @ 2019-05-02 12:20 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, vladz On Wed, May 1, 2019 at 9:50 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > Compiling on Fedora 30, we get the following warning, causing build failure > when Werror flag is set: > > ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used > uninitialized in this function [-Wmaybe-uninitialized] > 2141 | rxe->mbuf = nmb; > | ~~~~~~~~~~^~~~~ > > Initializing the value to "NULL" fixes the issue. > > Fixes: 8eecb3295aed ("ixgbe: add LRO support") > Cc: vladz@cloudius-systems.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c > b/drivers/net/ixgbe/ixgbe_rxtx.c > index e71d3c188..1fbc754ae 100644 > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > @@ -2029,7 +2029,7 @@ ixgbe_recv_pkts_lro(void *rx_queue, struct rte_mbuf > **rx_pkts, uint16_t nb_pkts, > struct ixgbe_rx_entry *next_rxe = NULL; > struct rte_mbuf *first_seg; > struct rte_mbuf *rxm; > - struct rte_mbuf *nmb; > + struct rte_mbuf *nmb = NULL; > union ixgbe_adv_rx_desc rxd; > uint16_t data_len; > uint16_t next_id; > -- > 2.21.0 > > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30 2019-05-02 12:20 ` David Marchand @ 2019-05-02 12:20 ` David Marchand 0 siblings, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:20 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, vladz On Wed, May 1, 2019 at 9:50 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > Compiling on Fedora 30, we get the following warning, causing build failure > when Werror flag is set: > > ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used > uninitialized in this function [-Wmaybe-uninitialized] > 2141 | rxe->mbuf = nmb; > | ~~~~~~~~~~^~~~~ > > Initializing the value to "NULL" fixes the issue. > > Fixes: 8eecb3295aed ("ixgbe: add LRO support") > Cc: vladz@cloudius-systems.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c > b/drivers/net/ixgbe/ixgbe_rxtx.c > index e71d3c188..1fbc754ae 100644 > --- a/drivers/net/ixgbe/ixgbe_rxtx.c > +++ b/drivers/net/ixgbe/ixgbe_rxtx.c > @@ -2029,7 +2029,7 @@ ixgbe_recv_pkts_lro(void *rx_queue, struct rte_mbuf > **rx_pkts, uint16_t nb_pkts, > struct ixgbe_rx_entry *next_rxe = NULL; > struct rte_mbuf *first_seg; > struct rte_mbuf *rxm; > - struct rte_mbuf *nmb; > + struct rte_mbuf *nmb = NULL; > union ixgbe_adv_rx_desc rxd; > uint16_t data_len; > uint16_t next_id; > -- > 2.21.0 > > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC " Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 Bruce Richardson ` (2 subsequent siblings) 5 siblings, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, shreyansh.jain Printing a null pointer with %s is flagged as a warning by GCC 9, and should not be done. Replace the %s with the word "null" itself. Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: shreyansh.jain@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index eaa39a209..f6e66d22c 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -197,7 +197,7 @@ scan_one_fslmc_device(char *dev_name) t_ptr = strtok(NULL, "."); if (!t_ptr) { - DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr); + DPAA2_BUS_ERR("Incorrect device string observed (null)"); goto cleanup; } -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer 2019-05-01 19:50 ` [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, shreyansh.jain Printing a null pointer with %s is flagged as a warning by GCC 9, and should not be done. Replace the %s with the word "null" itself. Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: shreyansh.jain@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index eaa39a209..f6e66d22c 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -197,7 +197,7 @@ scan_one_fslmc_device(char *dev_name) t_ptr = strtok(NULL, "."); if (!t_ptr) { - DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr); + DPAA2_BUS_ERR("Incorrect device string observed (null)"); goto cleanup; } -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer 2019-05-01 19:50 ` [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson @ 2019-05-02 12:20 ` David Marchand 2019-05-02 12:20 ` David Marchand 1 sibling, 1 reply; 32+ messages in thread From: David Marchand @ 2019-05-02 12:20 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, shreyansh.jain On Wed, May 1, 2019 at 9:50 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > Printing a null pointer with %s is flagged as a warning by GCC 9, and > should not be done. Replace the %s with the word "null" itself. > > Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") > Cc: shreyansh.jain@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/bus/fslmc/fslmc_bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c > index eaa39a209..f6e66d22c 100644 > --- a/drivers/bus/fslmc/fslmc_bus.c > +++ b/drivers/bus/fslmc/fslmc_bus.c > @@ -197,7 +197,7 @@ scan_one_fslmc_device(char *dev_name) > > t_ptr = strtok(NULL, "."); > if (!t_ptr) { > - DPAA2_BUS_ERR("Incorrect device string observed (%s)", > t_ptr); > + DPAA2_BUS_ERR("Incorrect device string observed (null)"); > I'd rather print dev_name here, since t_ptr == NULL means that dev_name format is incorrect. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer 2019-05-02 12:20 ` David Marchand @ 2019-05-02 12:20 ` David Marchand 0 siblings, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:20 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, shreyansh.jain On Wed, May 1, 2019 at 9:50 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > Printing a null pointer with %s is flagged as a warning by GCC 9, and > should not be done. Replace the %s with the word "null" itself. > > Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") > Cc: shreyansh.jain@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/bus/fslmc/fslmc_bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c > index eaa39a209..f6e66d22c 100644 > --- a/drivers/bus/fslmc/fslmc_bus.c > +++ b/drivers/bus/fslmc/fslmc_bus.c > @@ -197,7 +197,7 @@ scan_one_fslmc_device(char *dev_name) > > t_ptr = strtok(NULL, "."); > if (!t_ptr) { > - DPAA2_BUS_ERR("Incorrect device string observed (%s)", > t_ptr); > + DPAA2_BUS_ERR("Incorrect device string observed (null)"); > I'd rather print dev_name here, since t_ptr == NULL means that dev_name format is incorrect. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson ` (2 preceding siblings ...) 2019-05-01 19:50 ` [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:22 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: " Bruce Richardson 2019-05-02 12:18 ` [dpdk-dev] [PATCH 0/4] fix warnings with gcc " Thomas Monjalon 5 siblings, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, shreyansh.jain GCC9 gives warnings if the parameter passed to printf for "%s" could be NULL, so we need to add checks in some cases to ensure that is not the case. Fixes: 61c592a8d035 ("raw/skeleton: introduce skeleton rawdev driver") Cc: shreyansh.jain@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c index d7630fc69..63f2b9a09 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c @@ -705,6 +705,9 @@ skeleton_rawdev_probe(struct rte_vdev_device *vdev) name = rte_vdev_device_name(vdev); + if (name == NULL) + return -EINVAL; + /* More than one instance is not supported */ if (skeldev_init_once) { SKELETON_PMD_ERR("Multiple instance not supported for %s", @@ -740,6 +743,8 @@ skeleton_rawdev_remove(struct rte_vdev_device *vdev) int ret; name = rte_vdev_device_name(vdev); + if (name == NULL) + return -1; SKELETON_PMD_INFO("Closing %s on NUMA node %d", name, rte_socket_id()); -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:22 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, shreyansh.jain GCC9 gives warnings if the parameter passed to printf for "%s" could be NULL, so we need to add checks in some cases to ensure that is not the case. Fixes: 61c592a8d035 ("raw/skeleton: introduce skeleton rawdev driver") Cc: shreyansh.jain@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c index d7630fc69..63f2b9a09 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c @@ -705,6 +705,9 @@ skeleton_rawdev_probe(struct rte_vdev_device *vdev) name = rte_vdev_device_name(vdev); + if (name == NULL) + return -EINVAL; + /* More than one instance is not supported */ if (skeldev_init_once) { SKELETON_PMD_ERR("Multiple instance not supported for %s", @@ -740,6 +743,8 @@ skeleton_rawdev_remove(struct rte_vdev_device *vdev) int ret; name = rte_vdev_device_name(vdev); + if (name == NULL) + return -1; SKELETON_PMD_INFO("Closing %s on NUMA node %d", name, rte_socket_id()); -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson @ 2019-05-02 12:22 ` David Marchand 2019-05-02 12:22 ` David Marchand 1 sibling, 1 reply; 32+ messages in thread From: David Marchand @ 2019-05-02 12:22 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, shreyansh.jain On Wed, May 1, 2019 at 9:51 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > GCC9 gives warnings if the parameter passed to printf for "%s" could be > NULL, so we need to add checks in some cases to ensure that is not the > case. > > Fixes: 61c592a8d035 ("raw/skeleton: introduce skeleton rawdev driver") > Cc: shreyansh.jain@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > index d7630fc69..63f2b9a09 100644 > --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > @@ -705,6 +705,9 @@ skeleton_rawdev_probe(struct rte_vdev_device *vdev) > > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -EINVAL; > + > /* More than one instance is not supported */ > if (skeldev_init_once) { > SKELETON_PMD_ERR("Multiple instance not supported for %s", > @@ -740,6 +743,8 @@ skeleton_rawdev_remove(struct rte_vdev_device *vdev) > int ret; > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -1; > > SKELETON_PMD_INFO("Closing %s on NUMA node %d", name, > rte_socket_id()); > > -- > 2.21.0 > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 2019-05-02 12:22 ` David Marchand @ 2019-05-02 12:22 ` David Marchand 0 siblings, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:22 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, shreyansh.jain On Wed, May 1, 2019 at 9:51 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > GCC9 gives warnings if the parameter passed to printf for "%s" could be > NULL, so we need to add checks in some cases to ensure that is not the > case. > > Fixes: 61c592a8d035 ("raw/skeleton: introduce skeleton rawdev driver") > Cc: shreyansh.jain@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > index d7630fc69..63f2b9a09 100644 > --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c > @@ -705,6 +705,9 @@ skeleton_rawdev_probe(struct rte_vdev_device *vdev) > > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -EINVAL; > + > /* More than one instance is not supported */ > if (skeldev_init_once) { > SKELETON_PMD_ERR("Multiple instance not supported for %s", > @@ -740,6 +743,8 @@ skeleton_rawdev_remove(struct rte_vdev_device *vdev) > int ret; > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -1; > > SKELETON_PMD_INFO("Closing %s on NUMA node %d", name, > rte_socket_id()); > > -- > 2.21.0 > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson ` (3 preceding siblings ...) 2019-05-01 19:50 ` [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:24 ` David Marchand 2019-05-02 12:18 ` [dpdk-dev] [PATCH 0/4] fix warnings with gcc " Thomas Monjalon 5 siblings, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, nipun.gupta GCC9 gives warnings if the parameter passed to printf for "%s" could be NULL, so we need to add checks in some cases to ensure that is not the case. Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface driver") Cc: nipun.gupta@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 7d311b2ee..da3c7d7a6 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -270,6 +270,8 @@ dpaa2_cmdif_remove(struct rte_vdev_device *vdev) int ret; name = rte_vdev_device_name(vdev); + if (name == NULL) + return -1; DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, rte_socket_id()); -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: " Bruce Richardson @ 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:24 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-01 19:50 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, nipun.gupta GCC9 gives warnings if the parameter passed to printf for "%s" could be NULL, so we need to add checks in some cases to ensure that is not the case. Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface driver") Cc: nipun.gupta@nxp.com Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 7d311b2ee..da3c7d7a6 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -270,6 +270,8 @@ dpaa2_cmdif_remove(struct rte_vdev_device *vdev) int ret; name = rte_vdev_device_name(vdev); + if (name == NULL) + return -1; DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, rte_socket_id()); -- 2.21.0 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 2019-05-01 19:50 ` [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: " Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson @ 2019-05-02 12:24 ` David Marchand 2019-05-02 12:24 ` David Marchand 1 sibling, 1 reply; 32+ messages in thread From: David Marchand @ 2019-05-02 12:24 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, nipun.gupta On Wed, May 1, 2019 at 9:51 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > GCC9 gives warnings if the parameter passed to printf for "%s" could be > NULL, so we need to add checks in some cases to ensure that is not the > case. > > Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface > driver") > Cc: nipun.gupta@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > index 7d311b2ee..da3c7d7a6 100644 > --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > @@ -270,6 +270,8 @@ dpaa2_cmdif_remove(struct rte_vdev_device *vdev) > int ret; > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -1; > > DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, > rte_socket_id()); > > -- > 2.21.0 > > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 2019-05-02 12:24 ` David Marchand @ 2019-05-02 12:24 ` David Marchand 0 siblings, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:24 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, nipun.gupta On Wed, May 1, 2019 at 9:51 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > GCC9 gives warnings if the parameter passed to printf for "%s" could be > NULL, so we need to add checks in some cases to ensure that is not the > case. > > Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface > driver") > Cc: nipun.gupta@nxp.com > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> > --- > drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > index 7d311b2ee..da3c7d7a6 100644 > --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > @@ -270,6 +270,8 @@ dpaa2_cmdif_remove(struct rte_vdev_device *vdev) > int ret; > > name = rte_vdev_device_name(vdev); > + if (name == NULL) > + return -1; > > DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, > rte_socket_id()); > > -- > 2.21.0 > > Tested-by: David Marchand <david.marchand@redhat.com> -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson ` (4 preceding siblings ...) 2019-05-01 19:50 ` [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: " Bruce Richardson @ 2019-05-02 12:18 ` Thomas Monjalon 2019-05-02 12:18 ` Thomas Monjalon 2019-05-02 12:32 ` [dpdk-dev] [dpdk-stable] " David Marchand 5 siblings, 2 replies; 32+ messages in thread From: Thomas Monjalon @ 2019-05-02 12:18 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, stable 01/05/2019 21:50, Bruce Richardson: > This set of changes fixes warnings seen when compiling DPDK on Fedora 30. > In most cases these warnings appear to be false positives, which means we > have the option to just disable the warning. Because the changes required > to the code to silence the warnings are fairly small I've chosen in all cases > to change the code rather than disable the warnings, but I'm open to doing > the opposite if it's felt it's a better solution. [One thing I didn't like > about disabling the warnings is that the disabling flags are not supported > by clang, so adding them involves compiler checks :-(] > > NOTE: this set does not cover all warnings with GCC9, but it does cover > those seen when building with meson. There is still one warning disable > flag needed when building with make, which will need a follow-on set to > fix. > > Bruce Richardson (4): > net/ixgbe: fix warning with GCC 9 on Fedora 30 > bus/fslmc: fix printf of null pointer > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 Cc: stable@dpdk.org Applied, thanks ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 12:18 ` [dpdk-dev] [PATCH 0/4] fix warnings with gcc " Thomas Monjalon @ 2019-05-02 12:18 ` Thomas Monjalon 2019-05-02 12:32 ` [dpdk-dev] [dpdk-stable] " David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Thomas Monjalon @ 2019-05-02 12:18 UTC (permalink / raw) To: Bruce Richardson; +Cc: dev, stable 01/05/2019 21:50, Bruce Richardson: > This set of changes fixes warnings seen when compiling DPDK on Fedora 30. > In most cases these warnings appear to be false positives, which means we > have the option to just disable the warning. Because the changes required > to the code to silence the warnings are fairly small I've chosen in all cases > to change the code rather than disable the warnings, but I'm open to doing > the opposite if it's felt it's a better solution. [One thing I didn't like > about disabling the warnings is that the disabling flags are not supported > by clang, so adding them involves compiler checks :-(] > > NOTE: this set does not cover all warnings with GCC9, but it does cover > those seen when building with meson. There is still one warning disable > flag needed when building with make, which will need a follow-on set to > fix. > > Bruce Richardson (4): > net/ixgbe: fix warning with GCC 9 on Fedora 30 > bus/fslmc: fix printf of null pointer > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 Cc: stable@dpdk.org Applied, thanks ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 12:18 ` [dpdk-dev] [PATCH 0/4] fix warnings with gcc " Thomas Monjalon 2019-05-02 12:18 ` Thomas Monjalon @ 2019-05-02 12:32 ` David Marchand 2019-05-02 12:32 ` David Marchand 2019-05-02 13:24 ` Bruce Richardson 1 sibling, 2 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:32 UTC (permalink / raw) To: Thomas Monjalon; +Cc: Bruce Richardson, dev, dpdk stable On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <thomas@monjalon.net> wrote: > 01/05/2019 21:50, Bruce Richardson: > > This set of changes fixes warnings seen when compiling DPDK on Fedora 30. > > In most cases these warnings appear to be false positives, which means we > > have the option to just disable the warning. Because the changes required > > to the code to silence the warnings are fairly small I've chosen in all > cases > > to change the code rather than disable the warnings, but I'm open to > doing > > the opposite if it's felt it's a better solution. [One thing I didn't > like > > about disabling the warnings is that the disabling flags are not > supported > > by clang, so adding them involves compiler checks :-(] > > > > NOTE: this set does not cover all warnings with GCC9, but it does cover > > those seen when building with meson. There is still one warning disable > > flag needed when building with make, which will need a follow-on set to > > fix. > > > > Bruce Richardson (4): > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > bus/fslmc: fix printf of null pointer > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: stable@dpdk.org > > Applied, thanks > > I had a comment on patch 2, and the bigger problem is -Waddress-of-packed-member. The quicker solution for now is to downgrade it to warning only so that we can fix the parts later rather than globally disable it. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 12:32 ` [dpdk-dev] [dpdk-stable] " David Marchand @ 2019-05-02 12:32 ` David Marchand 2019-05-02 13:24 ` Bruce Richardson 1 sibling, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 12:32 UTC (permalink / raw) To: Thomas Monjalon; +Cc: Bruce Richardson, dev, dpdk stable On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <thomas@monjalon.net> wrote: > 01/05/2019 21:50, Bruce Richardson: > > This set of changes fixes warnings seen when compiling DPDK on Fedora 30. > > In most cases these warnings appear to be false positives, which means we > > have the option to just disable the warning. Because the changes required > > to the code to silence the warnings are fairly small I've chosen in all > cases > > to change the code rather than disable the warnings, but I'm open to > doing > > the opposite if it's felt it's a better solution. [One thing I didn't > like > > about disabling the warnings is that the disabling flags are not > supported > > by clang, so adding them involves compiler checks :-(] > > > > NOTE: this set does not cover all warnings with GCC9, but it does cover > > those seen when building with meson. There is still one warning disable > > flag needed when building with make, which will need a follow-on set to > > fix. > > > > Bruce Richardson (4): > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > bus/fslmc: fix printf of null pointer > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: stable@dpdk.org > > Applied, thanks > > I had a comment on patch 2, and the bigger problem is -Waddress-of-packed-member. The quicker solution for now is to downgrade it to warning only so that we can fix the parts later rather than globally disable it. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 12:32 ` [dpdk-dev] [dpdk-stable] " David Marchand 2019-05-02 12:32 ` David Marchand @ 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:32 ` David Marchand 1 sibling, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 13:24 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <[1]thomas@monjalon.net> > wrote: > > 01/05/2019 21:50, Bruce Richardson: > > This set of changes fixes warnings seen when compiling DPDK on > Fedora 30. > > In most cases these warnings appear to be false positives, which > means we > > have the option to just disable the warning. Because the changes > required > > to the code to silence the warnings are fairly small I've chosen > in all cases > > to change the code rather than disable the warnings, but I'm open > to doing > > the opposite if it's felt it's a better solution. [One thing I > didn't like > > about disabling the warnings is that the disabling flags are not > supported > > by clang, so adding them involves compiler checks :-(] > > > > NOTE: this set does not cover all warnings with GCC9, but it does > cover > > those seen when building with meson. There is still one warning > disable > > flag needed when building with make, which will need a follow-on > set to > > fix. > > > > Bruce Richardson (4): > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > bus/fslmc: fix printf of null pointer > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > Cc: [2]stable@dpdk.org > Applied, thanks > > I had a comment on patch 2, and the bigger problem is > -Waddress-of-packed-member. > The quicker solution for now is to downgrade it to warning only so that > we can fix the parts later rather than globally disable it. > -- Well, it is already a warning, it's just that with make we build by default with -Werror when building from git. Also, that particular warning is already disabled for clang compilation, so extending that to being disabled for gcc seems fine for a fix for this release. /Bruce ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:24 ` Bruce Richardson @ 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:32 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 13:24 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <[1]thomas@monjalon.net> > wrote: > > 01/05/2019 21:50, Bruce Richardson: > > This set of changes fixes warnings seen when compiling DPDK on > Fedora 30. > > In most cases these warnings appear to be false positives, which > means we > > have the option to just disable the warning. Because the changes > required > > to the code to silence the warnings are fairly small I've chosen > in all cases > > to change the code rather than disable the warnings, but I'm open > to doing > > the opposite if it's felt it's a better solution. [One thing I > didn't like > > about disabling the warnings is that the disabling flags are not > supported > > by clang, so adding them involves compiler checks :-(] > > > > NOTE: this set does not cover all warnings with GCC9, but it does > cover > > those seen when building with meson. There is still one warning > disable > > flag needed when building with make, which will need a follow-on > set to > > fix. > > > > Bruce Richardson (4): > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > bus/fslmc: fix printf of null pointer > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > Cc: [2]stable@dpdk.org > Applied, thanks > > I had a comment on patch 2, and the bigger problem is > -Waddress-of-packed-member. > The quicker solution for now is to downgrade it to warning only so that > we can fix the parts later rather than globally disable it. > -- Well, it is already a warning, it's just that with make we build by default with -Werror when building from git. Also, that particular warning is already disabled for clang compilation, so extending that to being disabled for gcc seems fine for a fix for this release. /Bruce ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:24 ` Bruce Richardson @ 2019-05-02 13:32 ` David Marchand 2019-05-02 13:32 ` David Marchand 2019-05-02 13:46 ` Bruce Richardson 1 sibling, 2 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 13:32 UTC (permalink / raw) To: Bruce Richardson; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 2, 2019 at 3:24 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <[1] > thomas@monjalon.net> > > wrote: > > > > 01/05/2019 21:50, Bruce Richardson: > > > This set of changes fixes warnings seen when compiling DPDK on > > Fedora 30. > > > In most cases these warnings appear to be false positives, which > > means we > > > have the option to just disable the warning. Because the changes > > required > > > to the code to silence the warnings are fairly small I've chosen > > in all cases > > > to change the code rather than disable the warnings, but I'm open > > to doing > > > the opposite if it's felt it's a better solution. [One thing I > > didn't like > > > about disabling the warnings is that the disabling flags are not > > supported > > > by clang, so adding them involves compiler checks :-(] > > > > > > NOTE: this set does not cover all warnings with GCC9, but it does > > cover > > > those seen when building with meson. There is still one warning > > disable > > > flag needed when building with make, which will need a follow-on > > set to > > > fix. > > > > > > Bruce Richardson (4): > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > bus/fslmc: fix printf of null pointer > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: [2]stable@dpdk.org > > Applied, thanks > > > > I had a comment on patch 2, and the bigger problem is > > -Waddress-of-packed-member. > > The quicker solution for now is to downgrade it to warning only so > that > > we can fix the parts later rather than globally disable it. > > -- > Well, it is already a warning, it's just that with make we build by default > with -Werror when building from git. > Err, why don't we have -Werror for meson ? Also, that particular warning is already disabled for clang compilation, so > extending that to being disabled for gcc seems fine for a fix for this > release. > Arf, indeed.. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:32 ` David Marchand @ 2019-05-02 13:32 ` David Marchand 2019-05-02 13:46 ` Bruce Richardson 1 sibling, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 13:32 UTC (permalink / raw) To: Bruce Richardson; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 2, 2019 at 3:24 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon <[1] > thomas@monjalon.net> > > wrote: > > > > 01/05/2019 21:50, Bruce Richardson: > > > This set of changes fixes warnings seen when compiling DPDK on > > Fedora 30. > > > In most cases these warnings appear to be false positives, which > > means we > > > have the option to just disable the warning. Because the changes > > required > > > to the code to silence the warnings are fairly small I've chosen > > in all cases > > > to change the code rather than disable the warnings, but I'm open > > to doing > > > the opposite if it's felt it's a better solution. [One thing I > > didn't like > > > about disabling the warnings is that the disabling flags are not > > supported > > > by clang, so adding them involves compiler checks :-(] > > > > > > NOTE: this set does not cover all warnings with GCC9, but it does > > cover > > > those seen when building with meson. There is still one warning > > disable > > > flag needed when building with make, which will need a follow-on > > set to > > > fix. > > > > > > Bruce Richardson (4): > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > bus/fslmc: fix printf of null pointer > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: [2]stable@dpdk.org > > Applied, thanks > > > > I had a comment on patch 2, and the bigger problem is > > -Waddress-of-packed-member. > > The quicker solution for now is to downgrade it to warning only so > that > > we can fix the parts later rather than globally disable it. > > -- > Well, it is already a warning, it's just that with make we build by default > with -Werror when building from git. > Err, why don't we have -Werror for meson ? Also, that particular warning is already disabled for clang compilation, so > extending that to being disabled for gcc seems fine for a fix for this > release. > Arf, indeed.. -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:32 ` David Marchand 2019-05-02 13:32 ` David Marchand @ 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:53 ` David Marchand 1 sibling, 2 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 13:46 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > <[1]bruce.richardson@intel.com> wrote: > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > <[1][2]thomas@monjalon.net> > > wrote: > > > > 01/05/2019 21:50, Bruce Richardson: > > > This set of changes fixes warnings seen when compiling DPDK > on > > Fedora 30. > > > In most cases these warnings appear to be false positives, > which > > means we > > > have the option to just disable the warning. Because the > changes > > required > > > to the code to silence the warnings are fairly small I've > chosen > > in all cases > > > to change the code rather than disable the warnings, but > I'm open > > to doing > > > the opposite if it's felt it's a better solution. [One > thing I > > didn't like > > > about disabling the warnings is that the disabling flags > are not > > supported > > > by clang, so adding them involves compiler checks :-(] > > > > > > NOTE: this set does not cover all warnings with GCC9, but > it does > > cover > > > those seen when building with meson. There is still one > warning > > disable > > > flag needed when building with make, which will need a > follow-on > > set to > > > fix. > > > > > > Bruce Richardson (4): > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > bus/fslmc: fix printf of null pointer > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: [2][3]stable@dpdk.org > > Applied, thanks > > > > I had a comment on patch 2, and the bigger problem is > > -Waddress-of-packed-member. > > The quicker solution for now is to downgrade it to warning only > so that > > we can fix the parts later rather than globally disable it. > > -- > Well, it is already a warning, it's just that with make we build by > default > with -Werror when building from git. > > Err, why don't we have -Werror for meson ? > Because it's generally not a good idea to use -Werror by default. However, the test-meson-build script (which we should all be using for test compilation before upstreaming) sets it for all builds. /Bruce ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:46 ` Bruce Richardson @ 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:53 ` David Marchand 1 sibling, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 13:46 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > <[1]bruce.richardson@intel.com> wrote: > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > <[1][2]thomas@monjalon.net> > > wrote: > > > > 01/05/2019 21:50, Bruce Richardson: > > > This set of changes fixes warnings seen when compiling DPDK > on > > Fedora 30. > > > In most cases these warnings appear to be false positives, > which > > means we > > > have the option to just disable the warning. Because the > changes > > required > > > to the code to silence the warnings are fairly small I've > chosen > > in all cases > > > to change the code rather than disable the warnings, but > I'm open > > to doing > > > the opposite if it's felt it's a better solution. [One > thing I > > didn't like > > > about disabling the warnings is that the disabling flags > are not > > supported > > > by clang, so adding them involves compiler checks :-(] > > > > > > NOTE: this set does not cover all warnings with GCC9, but > it does > > cover > > > those seen when building with meson. There is still one > warning > > disable > > > flag needed when building with make, which will need a > follow-on > > set to > > > fix. > > > > > > Bruce Richardson (4): > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > bus/fslmc: fix printf of null pointer > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > Cc: [2][3]stable@dpdk.org > > Applied, thanks > > > > I had a comment on patch 2, and the bigger problem is > > -Waddress-of-packed-member. > > The quicker solution for now is to downgrade it to warning only > so that > > we can fix the parts later rather than globally disable it. > > -- > Well, it is already a warning, it's just that with make we build by > default > with -Werror when building from git. > > Err, why don't we have -Werror for meson ? > Because it's generally not a good idea to use -Werror by default. However, the test-meson-build script (which we should all be using for test compilation before upstreaming) sets it for all builds. /Bruce ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:46 ` Bruce Richardson @ 2019-05-02 13:53 ` David Marchand 2019-05-02 13:53 ` David Marchand 2019-05-02 14:04 ` Bruce Richardson 1 sibling, 2 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 13:53 UTC (permalink / raw) To: Bruce Richardson; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 2, 2019 at 3:46 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > > <[1]bruce.richardson@intel.com> wrote: > > > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > > <[1][2]thomas@monjalon.net> > > > wrote: > > > > > > 01/05/2019 21:50, Bruce Richardson: > > > > This set of changes fixes warnings seen when compiling DPDK > > on > > > Fedora 30. > > > > In most cases these warnings appear to be false positives, > > which > > > means we > > > > have the option to just disable the warning. Because the > > changes > > > required > > > > to the code to silence the warnings are fairly small I've > > chosen > > > in all cases > > > > to change the code rather than disable the warnings, but > > I'm open > > > to doing > > > > the opposite if it's felt it's a better solution. [One > > thing I > > > didn't like > > > > about disabling the warnings is that the disabling flags > > are not > > > supported > > > > by clang, so adding them involves compiler checks :-(] > > > > > > > > NOTE: this set does not cover all warnings with GCC9, but > > it does > > > cover > > > > those seen when building with meson. There is still one > > warning > > > disable > > > > flag needed when building with make, which will need a > > follow-on > > > set to > > > > fix. > > > > > > > > Bruce Richardson (4): > > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > > bus/fslmc: fix printf of null pointer > > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > > Cc: [2][3]stable@dpdk.org > > > Applied, thanks > > > > > > I had a comment on patch 2, and the bigger problem is > > > -Waddress-of-packed-member. > > > The quicker solution for now is to downgrade it to warning only > > so that > > > we can fix the parts later rather than globally disable it. > > > -- > > Well, it is already a warning, it's just that with make we build by > > default > > with -Werror when building from git. > > > > Err, why don't we have -Werror for meson ? > > > > Because it's generally not a good idea to use -Werror by default. However, > the test-meson-build script (which we should all be using for test > compilation before upstreaming) sets it for all builds. > Yes ok, so that old releases still build on newer toolchains. As for the test-meson-builds.sh and test-build.sh scripts, they are still widely unknown except by maintainers. But at least, the ci build script would catch the errors, since it configures with "meson build --werror -Dexamples=all $OPTS" -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:53 ` David Marchand @ 2019-05-02 13:53 ` David Marchand 2019-05-02 14:04 ` Bruce Richardson 1 sibling, 0 replies; 32+ messages in thread From: David Marchand @ 2019-05-02 13:53 UTC (permalink / raw) To: Bruce Richardson; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 2, 2019 at 3:46 PM Bruce Richardson <bruce.richardson@intel.com> wrote: > On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > > <[1]bruce.richardson@intel.com> wrote: > > > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand wrote: > > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > > <[1][2]thomas@monjalon.net> > > > wrote: > > > > > > 01/05/2019 21:50, Bruce Richardson: > > > > This set of changes fixes warnings seen when compiling DPDK > > on > > > Fedora 30. > > > > In most cases these warnings appear to be false positives, > > which > > > means we > > > > have the option to just disable the warning. Because the > > changes > > > required > > > > to the code to silence the warnings are fairly small I've > > chosen > > > in all cases > > > > to change the code rather than disable the warnings, but > > I'm open > > > to doing > > > > the opposite if it's felt it's a better solution. [One > > thing I > > > didn't like > > > > about disabling the warnings is that the disabling flags > > are not > > > supported > > > > by clang, so adding them involves compiler checks :-(] > > > > > > > > NOTE: this set does not cover all warnings with GCC9, but > > it does > > > cover > > > > those seen when building with meson. There is still one > > warning > > > disable > > > > flag needed when building with make, which will need a > > follow-on > > > set to > > > > fix. > > > > > > > > Bruce Richardson (4): > > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > > bus/fslmc: fix printf of null pointer > > > > raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 > > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 > > > Cc: [2][3]stable@dpdk.org > > > Applied, thanks > > > > > > I had a comment on patch 2, and the bigger problem is > > > -Waddress-of-packed-member. > > > The quicker solution for now is to downgrade it to warning only > > so that > > > we can fix the parts later rather than globally disable it. > > > -- > > Well, it is already a warning, it's just that with make we build by > > default > > with -Werror when building from git. > > > > Err, why don't we have -Werror for meson ? > > > > Because it's generally not a good idea to use -Werror by default. However, > the test-meson-build script (which we should all be using for test > compilation before upstreaming) sets it for all builds. > Yes ok, so that old releases still build on newer toolchains. As for the test-meson-builds.sh and test-build.sh scripts, they are still widely unknown except by maintainers. But at least, the ci build script would catch the errors, since it configures with "meson build --werror -Dexamples=all $OPTS" -- David Marchand ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 13:53 ` David Marchand 2019-05-02 13:53 ` David Marchand @ 2019-05-02 14:04 ` Bruce Richardson 2019-05-02 14:04 ` Bruce Richardson 1 sibling, 1 reply; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 14:04 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 03:53:36PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 3:46 PM Bruce Richardson > <[1]bruce.richardson@intel.com> wrote: > > On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > > <[1][2]bruce.richardson@intel.com> wrote: > > > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand > wrote: > > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > > <[1][2][3]thomas@monjalon.net> > > > wrote: > > > > > > 01/05/2019 21:50, Bruce Richardson: > > > > This set of changes fixes warnings seen when > compiling DPDK > > on > > > Fedora 30. > > > > In most cases these warnings appear to be false > positives, > > which > > > means we > > > > have the option to just disable the warning. Because > the > > changes > > > required > > > > to the code to silence the warnings are fairly small > I've > > chosen > > > in all cases > > > > to change the code rather than disable the warnings, > but > > I'm open > > > to doing > > > > the opposite if it's felt it's a better solution. > [One > > thing I > > > didn't like > > > > about disabling the warnings is that the disabling > flags > > are not > > > supported > > > > by clang, so adding them involves compiler checks > :-(] > > > > > > > > NOTE: this set does not cover all warnings with > GCC9, but > > it does > > > cover > > > > those seen when building with meson. There is still > one > > warning > > > disable > > > > flag needed when building with make, which will need > a > > follow-on > > > set to > > > > fix. > > > > > > > > Bruce Richardson (4): > > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > > bus/fslmc: fix printf of null pointer > > > > raw/skeleton_rawdev: fix warnings with GCC 9 on > Fedora 30 > > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora > 30 > > > Cc: [2][3][4]stable@dpdk.org > > > Applied, thanks > > > > > > I had a comment on patch 2, and the bigger problem is > > > -Waddress-of-packed-member. > > > The quicker solution for now is to downgrade it to > warning only > > so that > > > we can fix the parts later rather than globally disable > it. > > > -- > > Well, it is already a warning, it's just that with make we > build by > > default > > with -Werror when building from git. > > > > Err, why don't we have -Werror for meson ? > > > Because it's generally not a good idea to use -Werror by default. > However, > the test-meson-build script (which we should all be using for test > compilation before upstreaming) sets it for all builds. > > Yes ok, so that old releases still build on newer toolchains. > As for the test-meson-builds.sh and test-build.sh scripts, they are > still widely unknown except by maintainers. > But at least, the ci build script would catch the errors, since it > configures with "meson build --werror -Dexamples=all $OPTS" > -- Yep, that's the idea. So long as it's easy enough for maintainers and CI to use werror, we should be covered. ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 2019-05-02 14:04 ` Bruce Richardson @ 2019-05-02 14:04 ` Bruce Richardson 0 siblings, 0 replies; 32+ messages in thread From: Bruce Richardson @ 2019-05-02 14:04 UTC (permalink / raw) To: David Marchand; +Cc: Thomas Monjalon, dev, dpdk stable On Thu, May 02, 2019 at 03:53:36PM +0200, David Marchand wrote: > On Thu, May 2, 2019 at 3:46 PM Bruce Richardson > <[1]bruce.richardson@intel.com> wrote: > > On Thu, May 02, 2019 at 03:32:20PM +0200, David Marchand wrote: > > On Thu, May 2, 2019 at 3:24 PM Bruce Richardson > > <[1][2]bruce.richardson@intel.com> wrote: > > > > On Thu, May 02, 2019 at 02:32:41PM +0200, David Marchand > wrote: > > > On Thu, May 2, 2019 at 2:19 PM Thomas Monjalon > > <[1][2][3]thomas@monjalon.net> > > > wrote: > > > > > > 01/05/2019 21:50, Bruce Richardson: > > > > This set of changes fixes warnings seen when > compiling DPDK > > on > > > Fedora 30. > > > > In most cases these warnings appear to be false > positives, > > which > > > means we > > > > have the option to just disable the warning. Because > the > > changes > > > required > > > > to the code to silence the warnings are fairly small > I've > > chosen > > > in all cases > > > > to change the code rather than disable the warnings, > but > > I'm open > > > to doing > > > > the opposite if it's felt it's a better solution. > [One > > thing I > > > didn't like > > > > about disabling the warnings is that the disabling > flags > > are not > > > supported > > > > by clang, so adding them involves compiler checks > :-(] > > > > > > > > NOTE: this set does not cover all warnings with > GCC9, but > > it does > > > cover > > > > those seen when building with meson. There is still > one > > warning > > > disable > > > > flag needed when building with make, which will need > a > > follow-on > > > set to > > > > fix. > > > > > > > > Bruce Richardson (4): > > > > net/ixgbe: fix warning with GCC 9 on Fedora 30 > > > > bus/fslmc: fix printf of null pointer > > > > raw/skeleton_rawdev: fix warnings with GCC 9 on > Fedora 30 > > > > raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora > 30 > > > Cc: [2][3][4]stable@dpdk.org > > > Applied, thanks > > > > > > I had a comment on patch 2, and the bigger problem is > > > -Waddress-of-packed-member. > > > The quicker solution for now is to downgrade it to > warning only > > so that > > > we can fix the parts later rather than globally disable > it. > > > -- > > Well, it is already a warning, it's just that with make we > build by > > default > > with -Werror when building from git. > > > > Err, why don't we have -Werror for meson ? > > > Because it's generally not a good idea to use -Werror by default. > However, > the test-meson-build script (which we should all be using for test > compilation before upstreaming) sets it for all builds. > > Yes ok, so that old releases still build on newer toolchains. > As for the test-meson-builds.sh and test-build.sh scripts, they are > still widely unknown except by maintainers. > But at least, the ci build script would catch the errors, since it > configures with "meson build --werror -Dexamples=all $OPTS" > -- Yep, that's the idea. So long as it's easy enough for maintainers and CI to use werror, we should be covered. ^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2019-05-02 14:04 UTC | newest] Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-05-01 19:50 [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-01 19:50 ` [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC " Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 2019-05-02 12:20 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 2/4] bus/fslmc: fix printf of null pointer Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:20 ` David Marchand 2019-05-02 12:20 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 3/4] raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:22 ` David Marchand 2019-05-02 12:22 ` David Marchand 2019-05-01 19:50 ` [dpdk-dev] [PATCH 4/4] raw/dpaa2_cmdif: " Bruce Richardson 2019-05-01 19:50 ` Bruce Richardson 2019-05-02 12:24 ` David Marchand 2019-05-02 12:24 ` David Marchand 2019-05-02 12:18 ` [dpdk-dev] [PATCH 0/4] fix warnings with gcc " Thomas Monjalon 2019-05-02 12:18 ` Thomas Monjalon 2019-05-02 12:32 ` [dpdk-dev] [dpdk-stable] " David Marchand 2019-05-02 12:32 ` David Marchand 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:24 ` Bruce Richardson 2019-05-02 13:32 ` David Marchand 2019-05-02 13:32 ` David Marchand 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:46 ` Bruce Richardson 2019-05-02 13:53 ` David Marchand 2019-05-02 13:53 ` David Marchand 2019-05-02 14:04 ` Bruce Richardson 2019-05-02 14:04 ` Bruce Richardson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).