> From: Thomas Monjalon <tho...@monjalon.net> > Sent: Wednesday, June 17, 2020 1:49 PM > To: Parav Pandit <pa...@mellanox.com>; Gaëtan Rivet <gr...@u256.net> > Cc: dev@dpdk.org; ferruh.yi...@intel.com; Ori Kam <or...@mellanox.com>; > Matan Azrad <ma...@mellanox.com> > Subject: Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: register a PCI driver > > 15/06/2020 23:46, Gaëtan Rivet: > > On 10/06/20 17:17 +0000, Parav Pandit wrote: > > > + DRV_LOG(ERR, "Invalid mlx5 classes %s. Maybe typo in > device" > > > + " class argument setting?", value); > > > > Error message should not be cut in half, it makes it difficult to grep. > > If you differentiate between typo in name and invalid combo you could > > directly warn the user about the proper error. > > > > (You can ignore the warning from checkpatch.sh about the long lines on > > a string if there is one.) > > The best is to cut the message after variable placeholder. > Here you can cut at the end of the first sentence "%s. " > o.k.
- [dpdk-dev] [RFC PATCH 6/6] bus/mlx5_pci: enable net and vD... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 6/6] bus/mlx5_pci: enable n... Gaëtan Rivet
- Re: [dpdk-dev] [RFC PATCH 6/6] bus/mlx5_pci: enab... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 6/6] bus/mlx5_pci: ... Gaëtan Rivet
- [dpdk-dev] [RFC PATCH 3/6] common/mlx5: change mlx5 class ... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 3/6] common/mlx5: change ml... Gaëtan Rivet
- Re: [dpdk-dev] [RFC PATCH 3/6] common/mlx5: chang... Parav Pandit
- [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: register a PCI dr... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: register... Gaëtan Rivet
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: regi... Thomas Monjalon
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: ... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: regi... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_pci: ... Gaëtan Rivet
- Re: [dpdk-dev] [RFC PATCH 5/6] bus/mlx5_p... Parav Pandit
- [dpdk-dev] [RFC PATCH 4/6] bus/mlx5_pci: add mlx5 PCI bus Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 4/6] bus/mlx5_pci: add mlx5... Gaëtan Rivet
- Re: [dpdk-dev] [RFC PATCH 4/6] bus/mlx5_pci: add ... Thomas Monjalon
- Re: [dpdk-dev] [RFC PATCH 4/6] bus/mlx5_pci: ... Parav Pandit
- Re: [dpdk-dev] [RFC PATCH 4/6] bus/mlx5_pci: add ... Parav Pandit
- [dpdk-dev] [RFC PATCH 2/6] common/mlx5: use class enable c... Parav Pandit