lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h1snmr2rp.wl-tiwai@suse.de>
Date:   Mon, 04 Sep 2017 15:50:50 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     linux-kernel@...r.kernel.org, Darren Hart <dvhart@...radead.org>,
        Andy Shevchenko <andy@...radead.org>,
        "Rafael J . Wysocki" <rjw@...ysocki.net>,
        Mika Westerberg <mika.westerberg@...ux.intel.com>,
        Johannes Stezenbach <js@...21.net>,
        platform-driver-x86@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

On Mon, 04 Sep 2017 15:37:32 +0200,
Lee Jones wrote:
> 
> > +static struct mfd_cell dc_ti_dev[] = {
> > +	{
> > +		.name = "dc_ti_pwrbtn",
> > +		.num_resources = ARRAY_SIZE(power_button_resources),
> > +		.resources = power_button_resources,
> > +	},
> > +	{
> 
> Place these on the same line.

Does this and ...


> > +	},
> > +	{
> > +		.name = "dc_ti_region",
> > +	},
> 
> This should be a one line entry:
> 
> 	{ .name = "dc_ti_region" },

.... this match together?  The result would be like:

static struct mfd_cell dc_ti_dev[] = {
	{
		.name = "dc_ti_pwrbtn",
		.num_resources = ARRAY_SIZE(power_button_resources),
		.resources = power_button_resources,
	}, {
		.name = "chtdc_ti_adc",
		.num_resources = ARRAY_SIZE(adc_resources),
	.....
	}, {	.name = "chtdc_ti_region",	},
};

which I find a bit inconsistent.


thanks,

Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ