linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-next] RDMA/mlx5: Update mlx5_ib driver name
@ 2020-05-13  9:53 Leon Romanovsky
  2020-05-17 23:41 ` Jason Gunthorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2020-05-13  9:53 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe; +Cc: Shay Drory, linux-rdma

From: Shay Drory <shayd@mellanox.com>

Current description doesn't include new devices, change it
by updating to have more generic description and remove
DRIVER_NAME and DRIVER_VERSION defines.

Signed-off-by: Shay Drory <shayd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
 drivers/infiniband/hw/mlx5/main.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index a707576a8337..3a9dde1f4bd9 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -72,17 +72,10 @@
 #define UVERBS_MODULE_NAME mlx5_ib
 #include <rdma/uverbs_named_ioctl.h>

-#define DRIVER_NAME "mlx5_ib"
-#define DRIVER_VERSION "5.0-0"
-
 MODULE_AUTHOR("Eli Cohen <eli@mellanox.com>");
-MODULE_DESCRIPTION("Mellanox Connect-IB HCA IB driver");
+MODULE_DESCRIPTION("Mellanox 5th generation network adapters (ConnectX series) IB driver");
 MODULE_LICENSE("Dual BSD/GPL");

-static char mlx5_version[] =
-	DRIVER_NAME ": Mellanox Connect-IB Infiniband driver v"
-	DRIVER_VERSION "\n";
-
 struct mlx5_ib_event_work {
 	struct work_struct	work;
 	union {
@@ -7316,8 +7309,6 @@ static void *mlx5_ib_add(struct mlx5_core_dev *mdev)
 	int port_type_cap;
 	int num_ports;

-	printk_once(KERN_INFO "%s", mlx5_version);
-
 	if (MLX5_ESWITCH_MANAGER(mdev) &&
 	    mlx5_ib_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) {
 		if (!mlx5_core_mp_enabled(mdev))
--
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH rdma-next] RDMA/mlx5: Update mlx5_ib driver name
  2020-05-13  9:53 [PATCH rdma-next] RDMA/mlx5: Update mlx5_ib driver name Leon Romanovsky
@ 2020-05-17 23:41 ` Jason Gunthorpe
  2020-05-18  4:42   ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Gunthorpe @ 2020-05-17 23:41 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: Doug Ledford, Shay Drory, linux-rdma

On Wed, May 13, 2020 at 12:53:04PM +0300, Leon Romanovsky wrote:
> From: Shay Drory <shayd@mellanox.com>
> 
> Current description doesn't include new devices, change it
> by updating to have more generic description and remove
> DRIVER_NAME and DRIVER_VERSION defines.
> 
> Signed-off-by: Shay Drory <shayd@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> ---
>  drivers/infiniband/hw/mlx5/main.c | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)

Applied to for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH rdma-next] RDMA/mlx5: Update mlx5_ib driver name
  2020-05-17 23:41 ` Jason Gunthorpe
@ 2020-05-18  4:42   ` Leon Romanovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2020-05-18  4:42 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: Doug Ledford, Shay Drory, linux-rdma

On Sun, May 17, 2020 at 08:41:07PM -0300, Jason Gunthorpe wrote:
> On Wed, May 13, 2020 at 12:53:04PM +0300, Leon Romanovsky wrote:
> > From: Shay Drory <shayd@mellanox.com>
> >
> > Current description doesn't include new devices, change it
> > by updating to have more generic description and remove
> > DRIVER_NAME and DRIVER_VERSION defines.
> >
> > Signed-off-by: Shay Drory <shayd@mellanox.com>
> > Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> > ---
> >  drivers/infiniband/hw/mlx5/main.c | 11 +----------
> >  1 file changed, 1 insertion(+), 10 deletions(-)
>
> Applied to for-next, thanks

Did you forget to push this commit to wip/jgg-for-next?
I don't see it yet.

Thanks

>
> Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-18  4:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-13  9:53 [PATCH rdma-next] RDMA/mlx5: Update mlx5_ib driver name Leon Romanovsky
2020-05-17 23:41 ` Jason Gunthorpe
2020-05-18  4:42   ` Leon Romanovsky

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).