From nobody Mon Feb 9 12:15:33 2026 Received: from mail-dl1-f45.google.com (mail-dl1-f45.google.com [74.125.82.45]) (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 E080B369985 for ; Mon, 2 Feb 2026 13:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770039271; cv=none; b=a06Fn8AIhRsP+q7tfasvwvGQRE8UedmXroNdRpA7WgYC2EULsWxyWjATCz6aEFgHh79PQFrNb1Oenm+1rcHw9K0MjgppJjJTFsJ0u3lI2jtoc8xDa/OYTXv59nL2CnwXKfJXYGxvUxv4y/lOR1hXFgoPLanPQ0bsIew016H5Zvw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770039271; c=relaxed/simple; bh=OI5/pPI9yZxR1PrG8KwNZ4ePisy8A7ceE6vffdCvYnI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MU0Xyeb7QLnsQaJ/PP1ylNjFpRpKJYqcvrmdMwQ2PzVh9JqBoCyVMSWqm9HFe7S0gEjhsCDUWleEmBJEIMbw5h4kvr/+j+NQA1vvyonXyE4KsKUK64z8A6bsSWzPIdomg3MDOTWdNFrQ62ChymoPyCuM2woqxT9V1h4imhPT0Eg= 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=lHgoO8//; arc=none smtp.client-ip=74.125.82.45 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="lHgoO8//" Received: by mail-dl1-f45.google.com with SMTP id a92af1059eb24-1233c155a42so7304763c88.1 for ; Mon, 02 Feb 2026 05:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770039269; x=1770644069; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mD35UFX846uck2E4P3muEsZfkii5RKJyvdmXwnceCr0=; b=lHgoO8//07+LBBlivSulTcXWnW3hMa4qp1h59XzdvLqMBedY0JKrGxNiCJ24mzRMvh DoEyAf+hs2YvZy5qjFhIXllVvFKo+0rnvG7sdllpHBVjVJnea6eIH1NNfdowNbODGoRl XiJozM+ct1MvCZcPZLqfHeJnT9Wz/o8ZUEEQHOI3WCg45msmloeSjDAdyfdMQ4i2M0r3 yrFgdWDk9jK7fjawnWV0eJWtS6V3Io8L2zwmBKWtAI4u/5IkdjddHsVJgvC8eEGZzOj8 KoWHFxVYTeQA0v9liJ5vOW0+Cq2kDTrAJsbzDeeYvSMrd9cp/L43K92SOjqb1nTCDy6Q ZnHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770039269; x=1770644069; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=mD35UFX846uck2E4P3muEsZfkii5RKJyvdmXwnceCr0=; b=o/VQqtI1WWsu2zt+Op429alv7ipYx0L3hkxwmPMVXKW5xXtA6I8px+j4gb41DVGQ0+ HWm63GlGMa7xUXWyeoB1PAOZG9ODUIW55BPGihE/hRmkkkG09bzLP584DDrrwvazQVNQ DlzQ8XBbqDUnS4RHVjmpxumJ5FvirRi2wduhbT/8p6LzC0ezwRDmFIrcdqdKp0kWZHaL GTzMMH8hxz2EYDINiou1hMCvSXz4didXwUQ3TlVM6TYMj8WN25F4y0TFVVKoJ5anIZJz 5gQE1tKKISYGjhHU0ltVXS0U0U9DMJ6+An/5CbkNcS2BK+fbDb8BEQ1N2xR4z4XT0oUw Bn/g== X-Forwarded-Encrypted: i=1; AJvYcCXKpApL5zoknmuOQ/CtgLEGboow2Zq2D5NUOdLYeDQK5cr7n3axm+rewCw5Z+BNF2sifoLaAFbd46ongtw=@vger.kernel.org X-Gm-Message-State: AOJu0YzyN7vcrI8IJ37Jn0yJwazCIpb+wgJgbwLvaz+BbA4HO910mG7J K1JmINlpNXjU1L8FAl6z2/ROp8QbB2WukdPawHRDiLyuU4cSLGqobU3z X-Gm-Gg: AZuq6aLegFRuDT2RaEhZ8jrnc7CcIJQVtGh5d9SvV2jINNPpEBdutIcp9DvOnxXxv4F hhM5Lr/Aug8jkklVsXxix60uDnxbqRyGvbSizN3xnPnLDgO0OUrw1cmaUhZP8IjsoYUU8PQhVyI yCQcQWZf2pbjIGKanmyjGgjy2iw5+JsjDsxKDvUdoJ9OgEsHP80woZVsBknVz27PK3VZhi2DQ9v w2CJNa/GLXpwtq9T7kY7zTn523HJ71oCtkTFZSY76aHjtqYn8sb8uYZ721eWvi3A6iUE6jSGNGk +oKxd2u5IT9YQF3QDYCsfYdTn/uRH2zwbuKMbMIaqzBdC1W4nyJkFxBvI+GAxLqjEooL+iR67UI SKHGNH7jCTuBUKahGJ82IEsSZ/deQ35hsshSr/2k+vTyUrT4mlSZvtVFuLPySoNwLW4YYlVdo91 PCGPuXEDsgsY8Bromk1e6/yezCPRYHVbHZ X-Received: by 2002:a05:7022:7a6:b0:123:2d38:928d with SMTP id a92af1059eb24-125c0ffcc20mr4725431c88.36.1770039268738; Mon, 02 Feb 2026 05:34:28 -0800 (PST) Received: from gustavo-arch ([2804:14c:f25a:845f:5b8d:2e7c:d238:2d28]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b7a1af8a7bsm20097282eec.34.2026.02.02.05.34.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 05:34:28 -0800 (PST) From: Gustavo Piaz da Silva To: gregkh@linuxfoundation.org, dan.carpenter@linaro.org Cc: ovidiu.panait.oss@gmail.com, gshahrouzi@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gustavo Piaz da Silva Subject: [PATCH v5 1/2] staging: axis-fifo: align fifo depth types with OF API Date: Mon, 2 Feb 2026 10:34:18 -0300 Message-ID: <20260202133419.20112-2-gustavopiazdasilva2102@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202133419.20112-1-gustavopiazdasilva2102@gmail.com> References: <20260202133419.20112-1-gustavopiazdasilva2102@gmail.com> 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" Change has_rx_fifo and has_tx_fifo types from int to u32 in struct axis_fifo. The of_property_read_u32() function expects a u32 pointer. While the current code might work, aligning the types avoids potential mixed-type issues and clarifies the data structure. Signed-off-by: Gustavo Piaz da Silva --- drivers/staging/axis-fifo/axis-fifo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-f= ifo/axis-fifo.c index 509d620d6ce7..7bc7bf191250 100644 --- a/drivers/staging/axis-fifo/axis-fifo.c +++ b/drivers/staging/axis-fifo/axis-fifo.c @@ -121,8 +121,8 @@ struct axis_fifo { =20 unsigned int rx_fifo_depth; /* max words in the receive fifo */ unsigned int tx_fifo_depth; /* max words in the transmit fifo */ - int has_rx_fifo; /* whether the IP has the rx fifo enabled */ - int has_tx_fifo; /* whether the IP has the tx fifo enabled */ + u32 has_rx_fifo; /* whether the IP has the rx fifo enabled */ + u32 has_tx_fifo; /* whether the IP has the tx fifo enabled */ =20 wait_queue_head_t read_queue; /* wait queue for asynchronos read */ struct mutex read_lock; /* lock for reading */ --=20 2.52.0