From nobody Sat Feb 7 09:59:01 2026 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DFA62620DE for ; Fri, 26 Dec 2025 05:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766726235; cv=none; b=tPbySI+VmhNBcv8lQf4Li5DqTkYQVDnI4LWDGvclf3LYZ/EH/1ctG/j8gdBKGJxJ7jISu4RrR4E7UU4Nxj9S/hLFhwKqEiW0y3vcrPb4sgeUsMAGXYdKIu9ebvz0ZmW58MJRLu1mFngSKlUSju22BKxqozNDm1diB5o8ZpgDSUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766726235; c=relaxed/simple; bh=z6tN2koOVYt5xxAFCQCSSARH1+DI6PvUPVVhQVBJ6fM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iZHAexlacEj/QEuIXXR5cPeKQo2LfEUmPwZrs6X+MM9EE0SP1260jjHlyXEDmvNZApQ5txGV4iLpYSNP++XPz0/CxyvCcQ0GTpL7VTchGXD7/cqHKv0Mxp5gqRZi/FKBpDx7WCD4iGtzlwYoWJASv/gX5I5s7DpsofRmZOB9W+U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Vj7vg8uv; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Vj7vg8uv" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2a1022dda33so56814255ad.2 for ; Thu, 25 Dec 2025 21:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766726233; x=1767331033; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=m9FIBnBIT8ZoZIIN6usk5vCof387U33RW9IfQgNu4dE=; b=Vj7vg8uvSpW8pSSvOsaq4AgFRhgWEqRJyFSQNhScyIoCx9t91GoXkDbEpwqasNETYD fdpajnE7fgaM4vooYyljW/p90FEd10ZKz3p5SeqHU5UlIQ+DvNgrjjCXQY8rxOLHT4fJ Hpndhj9yVIdLuJDcGe6m/X9FyGjP93YMzABhL3Qkc4g/7nvgqyDhZosHJntcs95fLbbG TJGNptDTCNOoJ2gWqK05gbTSHTeWXx3ZlMskyCfQynw127gL/ul3d34E1HtR0oUhrIKN nqTo4bdyOPH8ibtYrFNmUgJm941XtYjMSdp40H8gu5kV+nJH6nQy+AqEGirnikaDChvN an0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766726233; x=1767331033; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=m9FIBnBIT8ZoZIIN6usk5vCof387U33RW9IfQgNu4dE=; b=ZQMYUnWlAo1aaNA8m3aBIOPcpLeC85GRwPNaAT14bPy5P7mraRY5J6TT8emdtv5huI qpsoDONn8lRwaF9LaaWZRMvKW5HCtMraPWB1AfsRneY7J35BVXdV7MpOpOZ+Kq+YeLg6 6auBUHiXa0n1r3koJQ8TVtPTWfHdo+OJkUSGJvJDvxJRRxb+PrAEc2FWcxHeryZcHvLw snT4oux4t29bQMhCyzUbjCv3tZOC5bas1VoevvoeVaunwtHo/GyYTXjMYJtQIKaOfbx3 jJOtatzqznRqDHQUkqy83P7D3KMKFjN0+bLWOug/ud6naZoS8E9u7/GC+p/iqiZITqQi F/Tw== X-Forwarded-Encrypted: i=1; AJvYcCXGvmH7SgLwhBKhJMNmrP2DU1HBhn6RrsuW9VgM5L8MutUiiFdObSO5Xd1N0X0cfgrbPuuowV9lj9iESe4=@vger.kernel.org X-Gm-Message-State: AOJu0Yxo+0xmA8OQckG16a1LFO4NDK3Sv5Y7ix0Ue9JXq2AihNKLLyZN PeioUmdq4rlcDTMc0I+ltz6CmSJBRUPWORUIX79crRjR38HVxQoAHKHH X-Gm-Gg: AY/fxX4IP0wSp5oVzcfQxojiPYOpK9QJ7Vqp3Gbi6wU+qC3E9GAQsoe8A/HIXPbY90X Vx4kG6QHq4OrHNc6r8bPAuQI9YX3zK7hvQuep60R3j/k0cS6sskSjIpEc7APAQbRMmnbTvr1y5+ HVBHeX7dVCX09nLOhgNd2j3XVj9HBUa+PMTHOoqpZtUpvJvxwHebobIlHZ7AeBtGQVKmH5u43Ol BYTbD+9KWIZ4iMn/T30iMg5P9iveIqspZPI/cLo53/av8nKfSk6Tm+D+2n/5Jahiiq5vz9fAepV Vk86UO8ls9ODkmGDocNXLFtypsEgnTTyY6VwY9rO0G7UxW/gY52pUaEXJTGCalt4cm+UrJsUeL8 y62SGsxPeqbRbilsvoii8Z7MExQ8FO8F6M5MZntTZRcvgALPx0ZFNTuGdWkfetzrqP6pGqWLoQE D5G180auIp2sFzpGZPbxyPyhB2biwliS8qee3qtsVB6SEhHeJ7jJE= X-Google-Smtp-Source: AGHT+IF+0jA+Wk/IxGkJejZoWaUDwFSIVKNCa82JxbexbFr7JdRi7N174T19loWbeLafMPokiOiILg== X-Received: by 2002:a17:902:d488:b0:2a0:7f9e:518c with SMTP id d9443c01a7336-2a2f222aed1mr218214765ad.16.1766726232867; Thu, 25 Dec 2025 21:17:12 -0800 (PST) Received: from gourav-pc.lan (host-30-47.highlandsfibernetwork.com. [216.9.30.47]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a2f3c74490sm191467395ad.5.2025.12.25.21.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Dec 2025 21:17:12 -0800 (PST) From: Gourav Roy To: axboe@kernel.dk Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, Gourav Roy Subject: [PATCH] io-uring: fixed an int type code style issue Date: Thu, 25 Dec 2025 21:16:16 -0800 Message-ID: <20251226051616.124925-1-gourav.bit@gmail.com> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fixed a code style issue to prefer 'unsigned int' over bare use of 'unsigne= d'. Signed-off-by: Gourav Roy --- io_uring/alloc_cache.c | 2 +- io_uring/alloc_cache.h | 2 +- io_uring/cancel.c | 2 +- io_uring/eventfd.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/io_uring/alloc_cache.c b/io_uring/alloc_cache.c index 58423888b736..9aee9f944d2c 100644 --- a/io_uring/alloc_cache.c +++ b/io_uring/alloc_cache.c @@ -19,7 +19,7 @@ void io_alloc_cache_free(struct io_alloc_cache *cache, =20 /* returns false if the cache was initialized properly */ bool io_alloc_cache_init(struct io_alloc_cache *cache, - unsigned max_nr, unsigned int size, + unsigned int max_nr, unsigned int size, unsigned int init_bytes) { cache->entries =3D kvmalloc_array(max_nr, sizeof(void *), GFP_KERNEL); diff --git a/io_uring/alloc_cache.h b/io_uring/alloc_cache.h index d33ce159ef33..8f70af6eb341 100644 --- a/io_uring/alloc_cache.h +++ b/io_uring/alloc_cache.h @@ -11,7 +11,7 @@ void io_alloc_cache_free(struct io_alloc_cache *cache, void (*free)(const void *)); bool io_alloc_cache_init(struct io_alloc_cache *cache, - unsigned max_nr, unsigned int size, + unsigned int max_nr, unsigned int size, unsigned int init_bytes); =20 void *io_cache_alloc_new(struct io_alloc_cache *cache, gfp_t gfp); diff --git a/io_uring/cancel.c b/io_uring/cancel.c index ca12ac10c0ae..a9a674581871 100644 --- a/io_uring/cancel.c +++ b/io_uring/cancel.c @@ -104,7 +104,7 @@ static int io_async_cancel_one(struct io_uring_task *tc= tx, } =20 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, - unsigned issue_flags) + unsigned int issue_flags) { struct io_ring_ctx *ctx =3D cd->ctx; int ret; diff --git a/io_uring/eventfd.c b/io_uring/eventfd.c index 78f8ab7db104..ecf899a9c697 100644 --- a/io_uring/eventfd.c +++ b/io_uring/eventfd.c @@ -15,7 +15,7 @@ struct io_ev_fd { struct eventfd_ctx *cq_ev_fd; unsigned int eventfd_async; /* protected by ->completion_lock */ - unsigned last_cq_tail; + unsigned int last_cq_tail; refcount_t refs; atomic_t ops; struct rcu_head rcu; --=20 2.51.0