Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4615955imd; Tue, 30 Oct 2018 05:02:47 -0700 (PDT) X-Google-Smtp-Source: AJdET5fjGsLXWFYm2bKYhvsJ9cCj6X3Q5ZzNynWog4EDTuSMcHz62cWxlH7l4RnCerTJNXHmSEQV X-Received: by 2002:a62:f94b:: with SMTP id g11-v6mr2616757pfm.244.1540900967620; Tue, 30 Oct 2018 05:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540900967; cv=none; d=google.com; s=arc-20160816; b=ZHil94V8awIa75OOY/htZ5RzO8wMR9LHWfQT+hD0JCFcqey2lMiOOvyGWbS/52n4V3 2y8fbZAe6aEMaNAKCs6vGfIHCXAClMPAz42fJmebLyeSYgR+NfNaG7R/DwhRv8FD1kal +l+ybZa+EpX6ocbLWHYglneHRWI2mXdfkGV6ouzWE4nCsL976lZiXns8R6zYqoE/iLzP emcGz6aCzVeigqULsFhORk5LZ9wmDm+LyOLdl87qkxlYtLuxMu4wmtTEz9/xCOD7+ydZ PGFgXjqtpzdnqNJGBk+N44Ha9tzsEQLAHZ5A99JDRgI31iZ7QmkJmEZUedhenkUe2Xi0 r+lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=gXt7PGWaFqlgXfIGV1PiMV5WnWSWVWJiLoNBWO0xwus=; b=ujCiwOCTr9gE0cNSLuqWNtKO13u54NH9sZh0+ivBEKcN6gYzekEzBqtfgVEuUdvk13 4GPIUwXJA0rlvGDa96ELThZesxlpbVC37IaMZxMQ65XHaqvNuujTf0DvSbmGkjR2lcT2 JyMgkyddmvCLorOG0N0GJPXEdwVeCumWE8CEpm1sM1WU9vSxRJX4VqLSrc86OGBl2KyC VJdAYAos3x1atpcUk5pTkVv/Q05W5j0q7Tp8b9KNi3trWE3vOw9Ftj12dV25vKcJk157 UppanTUH7Larkqh/7yqzbAQ50l3pzox5CuCsS+wSiEJD21Ssg3qh50NinNIUs99KKZ18 SLkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pcHZZV4l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si23339189pgj.74.2018.10.30.05.02.30; Tue, 30 Oct 2018 05:02:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pcHZZV4l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727878AbeJ3UzH (ORCPT + 99 others); Tue, 30 Oct 2018 16:55:07 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44652 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727669AbeJ3UzH (ORCPT ); Tue, 30 Oct 2018 16:55:07 -0400 Received: by mail-pf1-f196.google.com with SMTP id j13-v6so2216493pff.11 for ; Tue, 30 Oct 2018 05:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=gXt7PGWaFqlgXfIGV1PiMV5WnWSWVWJiLoNBWO0xwus=; b=pcHZZV4l9FeBHuGFNY/M/mcrJpICttLHWL/8BqYywLcasTZdAxAJ6WDSc6x91CGeJu gn6Q6FATR4enUyyJ76CSPXKjXZX/3CxEb6WvFgBLw64eak3pU9nnVUHBWJroe8VR2pvz BYR9H0FOVn1Gc+kE4J4KEwaShkHf3bPf2WpAeWpNAuDyvvHCF5uMkJJml+MIgPs4acVS Aoj5eQ7BpyjVmpm1smCw3qLFSiKRR01mr8yOZ0RMexQADbGZyJIhjFdw6Ty41GIMV5hT 2mU7Jy46txQ07C8MnGPiwzx/A9aQy2vfH1uT61rTbL3WXTHxP+kfzNZupNPexeNO0hYt EjJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=gXt7PGWaFqlgXfIGV1PiMV5WnWSWVWJiLoNBWO0xwus=; b=mvq4diN8eFYLXgngZzIo8di88CcWSBWwPa6iiS5+MxyLV1X/kEdcEou8nM+JJDQs69 Z39O3HdhsWX0af91c7urUbm11tCDFATQEa+q1UYCAwSvgY8310xpUVOLm2gwqpdCOciB 82KSFEIkfE4/9p4VTB/1UVZLj+3Ptn2JWQPPkH5diiYdnLBSrK9/ZWpCgip/BW8MhGXq BVx4VuhthEQoxdbgWsALFm90L4Ddz/2/1O2r8Xosrs+S3Cq3snySPBtFahMrQvV6qrl/ gsDlQi6td1R+h+t2OuZVEQtiOniqfWSCGA6Dd28m6nHq8GoGl1M09iiRaSkdc2lzY+X+ L84Q== X-Gm-Message-State: AGRZ1gKBFi57jbJBeSrIRQ2HFlYKPZUw4HPJ7tHDP0745+2UYMAhZafL LBFH/o3RpezXZCrpvsfN/1o= X-Received: by 2002:a65:5c81:: with SMTP id a1-v6mr17611080pgt.390.1540900915800; Tue, 30 Oct 2018 05:01:55 -0700 (PDT) Received: from localhost.localdomain ([191.101.9.198]) by smtp.gmail.com with ESMTPSA id s80-v6sm27378369pfa.114.2018.10.30.05.01.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Oct 2018 05:01:55 -0700 (PDT) From: Bo YU To: gregkh@linuxfoundation.org, rafael@kernel.org Cc: linux-kernel@vger.kernel.org, Bo YU Subject: [PATCH 1/3] kobject: drop unnecessary cast "%llu" for u64 Date: Tue, 30 Oct 2018 08:01:14 -0400 Message-Id: <35468e5db6df40544967256e3fe276e9f3bc36a8.1540886346.git.tsu.yubo@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no searon for u64 var cast to unsigned long long type. Signed-off-by: Bo YU --- lib/kobject_uevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 63d0816ab23b..402765c3a9cb 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c @@ -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; -- 2.11.0