mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
kobject: drop unnecessary cast "%llu" for u64
There is no searon for u64 var cast to unsigned long long type. Signed-off-by: Bo YU <tsu.yubo@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dbf03d6569
commit
e0d70bcb38
@ -579,7 +579,7 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
|
||||
|
||||
mutex_lock(&uevent_sock_mutex);
|
||||
/* we will send an event, so request a new sequence number */
|
||||
retval = add_uevent_var(env, "SEQNUM=%llu", (unsigned long long)++uevent_seqnum);
|
||||
retval = add_uevent_var(env, "SEQNUM=%llu", ++uevent_seqnum);
|
||||
if (retval) {
|
||||
mutex_unlock(&uevent_sock_mutex);
|
||||
goto exit;
|
||||
|
Loading…
Reference in New Issue
Block a user