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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPXgP11GwHuA3e=xYUpKgvDTEwYb1Q9FH=aV8wvivUXhOaXBVg@mail.gmail.com>
Date:	Thu, 12 Jan 2012 18:48:28 +0100
From:	Kay Sievers <kay.sievers@...y.org>
To:	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc:	Sander Eikelenboom <linux@...elenboom.it>,
	linux-kernel@...r.kernel.org,
	xen-devel <xen-devel@...ts.xensource.com>
Subject: Re: linux 3.3-pre-rc1: Starting domU fails with Error: Failed to
 query current memory allocation of dom0.

On Thu, Jan 12, 2012 at 18:10, Konrad Rzeszutek Wilk
<konrad.wilk@...cle.com> wrote:
> On Thu, Jan 12, 2012 at 06:05:46PM +0100, Sander Eikelenboom wrote:

>> Shouldn't the
>>
>> if (error) {
>>         bus_unregister(&balloon_subsys);
>>         return error;
>> }
>>
>> right below it also be changed ?
>
> I thought so too, but looking at how the subsys_system_register it looks
> to be OK. Kay, thoughts?

No, it's fine, there is nothing else.

The subsys_system_register() fucrtion is a new function (for compat
with old sysdev rules only) that registers a bus. The counterpart is
the bus_unregister.

The long-term picture is that 'struct bus_type' and 'struct class'
will be merged and everything will be called 'subsys'.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ