[lkml]   [2018]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][next] drivers: base: remove need for a temporary string for the node name
On Thu, Nov 29, 2018 at 06:08:44PM +0000, Colin King wrote:
> From: Colin Ian King <>
> Currently the node name is being formatting into a temporary string
> node_name, however, kobject_init_and_add allows one to format up
> a node name, so use that instead. This removes the need for the
> node_name string and also cleans up the following warning:
> Fixes clang warning:
> warning: format string is not a string literal (potentially
> insecure) [-Wformat-security]
> Signed-off-by: Colin Ian King <>
> ---
> drivers/base/swnode.c | 5 +----

I don't know where this file comes from. It's not in my
driver-core-next branch, who is creating it?


greg k-h

 \ /
  Last update: 2018-12-06 15:58    [W:0.045 / U:2.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site