Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Mark Brown <broonie@kernel.org>,
	Shenghao Ding <shenghao-ding@ti.com>,
	Baojun Xu <baojun.xu@ti.com>, Takashi Iwai <tiwai@suse.de>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Kevin Lu <kevin-lu@ti.com>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH v1 1/1] ASoC: tas2781: Switch to use %ptTs
Date: Thu, 6 Feb 2025 20:59:53 +0200	[thread overview]
Message-ID: <Z6UGqf_YOtvrHxW8@smile.fi.intel.com> (raw)
In-Reply-To: <20250206162339.1127836-1-andriy.shevchenko@linux.intel.com>

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



      reply	other threads:[~2025-02-06 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06 16:23 [PATCH v1 1/1] ASoC: tas2781: Switch to use %ptTs Andy Shevchenko
2025-02-06 18:59 ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z6UGqf_YOtvrHxW8@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=baojun.xu@ti.com \
    --cc=broonie@kernel.org \
    --cc=kevin-lu@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=shenghao-ding@ti.com \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox