Re: [PATCH v1 1/1] ASoC: tas2781: Switch to use %ptTs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Feb 06, 2025 at 06:23:39PM +0200, Andy Shevchenko wrote:
> Use %ptTs instead of open-coded variant to print contents of time64_t type
> in human readable form.

...

> -		time64_to_tm(tmp_val[20], 0, tm);
> -		dev_dbg(tas_priv->dev, "%4ld-%2d-%2d, %2d:%2d:%2d\n",
> -			tm->tm_year, tm->tm_mon, tm->tm_mday,
> -			tm->tm_hour, tm->tm_min, tm->tm_sec);
> +		dev_dbg(tas_priv->dev, "%ptTsr\n", tmp_val[20]);

Urgh, this should be a pointer, I will update this soon.

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux