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>] [day] [month] [year] [list]
Message-Id: <1539464559-22268-1-git-send-email-khoroshilov@ispras.ru>
Date:   Sun, 14 Oct 2018 00:02:39 +0300
From:   Alexey Khoroshilov <khoroshilov@...ras.ru>
To:     Lee Jones <lee.jones@...aro.org>, Arnd Bergmann <arnd@...db.de>
Cc:     Alexey Khoroshilov <khoroshilov@...ras.ru>,
        linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org
Subject: mfd: syscon: syscon_node_to_regmap() and device_node refcounting

Hello,

Could you please clarify why it is safe to store device_node pointer
in of_syscon_register()? Who is responsible to make sure that 
it is not disappear?

static struct syscon *of_syscon_register(struct device_node *np)
{
...
	syscon->np = np;
}


--
Thank you,
Alexey Khoroshilov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ