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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170802141638.GC25781@lunn.ch>
Date:   Wed, 2 Aug 2017 16:16:38 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Oleksandr Shamray <oleksandrs@...lanox.com>
Cc:     gregkh@...uxfoundation.org, arnd@...db.de,
        devicetree@...r.kernel.org, jiri@...nulli.us,
        system-sw-low-level@...lanox.com, openbmc@...ts.ozlabs.org,
        linux-kernel@...r.kernel.org, mec@...ut.net,
        Jiri Pirko <jiri@...lanox.com>, joel@....id.au,
        linux-serial@...r.kernel.org, vadimp@...llanox.com,
        tklauser@...tanz.ch, linux-arm-kernel@...ts.infradead.org
Subject: Re: [patch v1 1/2] drivers: jtag: Add JTAG core driver

> +void jtag_unregister(struct jtag *jtag)
> +{
> +	struct device *dev = jtag->dev;
> +
> +	mutex_lock(&jtag_mutex);
> +	list_add_tail(&jtag->list, &jtag_list);

add?

> +	mutex_unlock(&jtag_mutex);
> +	cdev_del(&jtag->cdev);
> +	device_unregister(dev);
> +	ida_simple_remove(&jtag_ida, jtag->id);
> +}

  Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ