mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Prarit Bhargava <prarit@redhat.com>
Cc: linux-kernel@vger.kernel.org,
	John Stultz <john.stultz@linaro.org>,
	Stephen Boyd <sboyd@codeaurora.org>
Subject: Re: [PATCH 1/2 v10] time: Make fast functions return 0 before timekeeping is initialized
Date: Mon, 28 Aug 2017 17:00:59 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1708281658370.1867@nanos> (raw)
In-Reply-To: <1503922914-10660-2-git-send-email-prarit@redhat.com>

On Mon, 28 Aug 2017, Prarit Bhargava wrote:
> +static struct tk_fast tk_fast_mono ____cacheline_aligned = {
> +	.base = {
> +		(struct tk_read_base){
> +			.clock = &dummy_clock,
> +		},
> +		(struct tk_read_base){
> +			.clock = &dummy_clock,
> +		},
> +	},
> +};

I think I complained about this ugly typecast before.

  	.base[0] = { .clock = &dummy_clock, },
       	.base[1] = { .clock = &dummy_clock, },

Hmm?

Thanks,

	tglx

  reply	other threads:[~2017-08-28 15:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 12:21 [PATCH 0/2 v10] printk: Add new timestamps Prarit Bhargava
2017-08-28 12:21 ` [PATCH 1/2 v10] time: Make fast functions return 0 before timekeeping is initialized Prarit Bhargava
2017-08-28 15:00   ` Thomas Gleixner [this message]
2017-09-25 19:18   ` [tip:core/printk] timekeeping: Make fast accessors " tip-bot for Prarit Bhargava
2017-08-28 12:21 ` [PATCH 2/2 v10] printk: Add monotonic, boottime, and realtime timestamps Prarit Bhargava
2017-08-31 16:17   ` Thomas Gleixner
2017-09-25 19:19   ` [tip:core/printk] " tip-bot for Prarit Bhargava
2017-09-25 23:50     ` Sergey Senozhatsky
2017-09-26  8:38       ` Thomas Gleixner

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=alpine.DEB.2.20.1708281658370.1867@nanos \
    --to=tglx@linutronix.de \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prarit@redhat.com \
    --cc=sboyd@codeaurora.org \
    /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

all inboxes | Powered by JetHome®