[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f50e53b0-b880-40ef-8a35-d98f7b00eb35@wanadoo.fr>
Date: Sun, 26 Jan 2025 11:16:33 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: Yidong Zhang <yidong.zhang@....com>, linux-kernel@...r.kernel.org,
linux-fpga@...r.kernel.org, mdf@...nel.org, hao.wu@...el.com,
yilun.xu@...el.com
Cc: lizhi.hou@....com, DMG Karthik <Karthik.DMG@....com>,
Nishad Saraf <nishads@....com>, Prapul Krishnamurthy <prapulk@....com>,
Hayden Laccabue <hayden.laccabue@....com>
Subject: Re: [PATCH V2 1/4] drivers/fpga/amd: Add new driver amd versal-pci
Le 10/12/2024 à 19:37, Yidong Zhang a écrit :
> AMD Versal based PCIe card, including V70, is designed for AI inference
> efficiency and is tuned for video analytics and natural language processing
> applications.
...
> +#define vdev_info(vdev, fmt, args...) \
> + dev_info(&(vdev)->pdev->dev, "%s: "fmt, __func__, ##args)
> +
> +#define vdev_warn(vdev, fmt, args...) \
> + dev_warn(&(vdev)->pdev->dev, "%s: "fmt, __func__, ##args)
> +
> +#define vdev_err(vdev, fmt, args...) \
> + dev_err(&(vdev)->pdev->dev, "%s: "fmt, __func__, ##args)
> +
> +#define vdev_dbg(vdev, fmt, args...) \
> + dev_dbg(&(vdev)->pdev->dev, fmt, ##args)
These helpers could also add the trailing \n.
It is apparently not added in the messages themselves.
CJ
Powered by blists - more mailing lists