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: <OSBPR01MB4773F65136FAE06F275D808CBA749@OSBPR01MB4773.jpnprd01.prod.outlook.com>
Date:   Thu, 8 Apr 2021 17:36:13 +0000
From:   Min Li <min.li.xe@...esas.com>
To:     Greg KH <gregkh@...uxfoundation.org>
CC:     "derek.kiernan@...inx.com" <derek.kiernan@...inx.com>,
        "dragan.cvetic@...inx.com" <dragan.cvetic@...inx.com>,
        "arnd@...db.de" <arnd@...db.de>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization
 Management Unit (SMU) support

> 
> Why?
> 

Because I need to manipulate name by adding the index to it during run time and use it as miscdev's name 

	snprintf(rsmu->name, sizeof(rsmu->name), "rsmu%d", rsmu->index);
	rsmu->miscdev.name = rsmu->name;
> 
> Then why are you saving it off?
> 

For things like dev_err(rsmu->dev, "Undefined RSMU IOCTL");

> 
> Ok, that should be documented a bit, it wasn't obvious :)
> 

Will do for the next patch

> 
> So you can just look it up from the name?
> 

name is based on this index in the first place

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ