From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yx1-f42.google.com (mail-yx1-f42.google.com [74.125.224.42]) (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 3B50D364E81 for ; Mon, 2 Feb 2026 12:23:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770035011; cv=none; b=V/bcf+4Z+tOupSauyfIg6OIneqXhXnwfhQFS4SJeaOt23/roxqGngNOYuuI5z2hBBXdL7BITfel6vFBR9oz1q7Vp4FX7JVR1Dk2BRQDRlCgWq1DwvkhDTwbGHKXNMqahKp9ETefU595l1TJwVr6cQkuhrpxnWVWpaQptY56lSSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770035011; c=relaxed/simple; bh=OI5/pPI9yZxR1PrG8KwNZ4ePisy8A7ceE6vffdCvYnI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tb9e7+1Zf1Vn6+nnssOGqunVBeeX1w4EFEjIwf4AbS5lnDV/enrpJx6RpJDUCV6al3SYF1br7TEiAgn9u/5FvlkcT3CEDwcSoQ8PYL8lX/w7HYWip4ibGmRPruHzeNBDjt088VigMS7ebhUkR0PY+Qm0cIElyfQP5I1n6ECHOPM= 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=OHAIhP6E; arc=none smtp.client-ip=74.125.224.42 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="OHAIhP6E" Received: by mail-yx1-f42.google.com with SMTP id 956f58d0204a3-649523de905so6371657d50.1 for ; Mon, 02 Feb 2026 04:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770035009; x=1770639809; 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=OHAIhP6EMcPefQK/aHVuBj83AH3EmHWU/w3nEf9qxfpz7u0UZ9CFT22HDmor39PHla CcPvQwfJEUfZeTk7nkGRgZ29qyv9sc2horUhROUOx40OGkIUU8I6iQB7j77kTwH68hmu XNj4ILlAt5SWgBJn6UOK0q7Hk0sOpnZ76mLMSfj8kBCnFqWr0w5NZhqqXf/VFCdueOfp 0ndMI+QMh+irpgqpeJARV/C8htQqFZdfqQOtgkTEv+z6ftT+gBg+oX/z3czpVqIN648S gRJaispvjV8RDVdiMtoAMZ0Dilhw5tc6UZuHwPCEXOFVrqhAVXG0Jv4RkacnHxh8WbXQ XNhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770035009; x=1770639809; 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=dRUkWAjoqoGswwpC/kakEqmFCpCYMAePrkHwn3uLebijyZImzD1NgnwN+sp4wWXI72 CB4T2Op9gmhO/MziqfvvIPcneN1B0R0meUcS/lrTx6larVMcW8p/FPLd0ATmw1zpVHNG gGak16xgVRbgDAmvmeqZ+IlaNYr/wLqWrmvDc0rY1SbAdw1KbzHgV8EmDN1de5dBKsmB VvhYDiQQsZoWDqjvLUObYGLlznv7gEDXMi+YTE4eCtIKYRmLfgkuGzNoiyYx2kkehZEq 8LHLov8Yfv7hsasJ3YlQgf3tnNNenMJ95mrzBh9IYmMj+RCQfE7rAxKu2Qs1WhRweaTg sbhg== X-Forwarded-Encrypted: i=1; AJvYcCVlFue8F820KOLiIlvD8S1tky9z1TXke76ypqu3yqMVo7Oy0xhtdeiWVPpfRF6aGvTCitfVTNwJ+INEf0k=@vger.kernel.org X-Gm-Message-State: AOJu0YwLe56aLtUJpt/jJZcNSTllTCENsGccBQ1+G+RMCmBp2p6D6KEZ y4UYyj9gAdTYLt0vA0/TvTHJucs8B4M21mBpn5f/4YQ05Kv0+FSh9gUGbnDXoQ== X-Gm-Gg: AZuq6aIbYMM+qzj2ItYAV8QMoBDAvYlIWNM6h+8pFCmj3T24swvlnm1xDWZjgZZpSms 0aDt6JYfXkhqMsz8DbIVFGboeoyz/ZHEMVabGNggdYpX161gQYJPVF6A+lYWg0zgjOlbAj6l4nL 0KwSFzVmAmdHjSHCWn7z8xnuG+NBww7ZTRdBJz5/cm7cZOSQImi01C+dN6WEzBM2GKiOYsMSfYZ ANuKPFjahHY5MxEMsiMedCQbNu88kceFg/6vz9GJf81x5QW0HMzYa7RKc5tO+yzcoEBqOMhkf3U 9Pcm3GI9GuysJRV7n9etzoGeqkhgcvDCybL5nUBJddQu+c02nkr3PMHpESjmDK2zLXSA9YqadDj MIQYppatRB9uHlfQJTAj3XLerpLE+DmJ02SQSAgWm9Gt8vGZaMc7cjWMit/R67GHr3m3DsAF3JY 1hbBma5Ikn09uO/OYfqCJpFbprTCcrYrKD X-Received: by 2002:a05:690e:151a:b0:645:54a9:11d2 with SMTP id 956f58d0204a3-649a8d9c080mr7200836d50.14.1770035009207; Mon, 02 Feb 2026 04:23:29 -0800 (PST) Received: from gustavo-arch ([2804:14c:f25a:845f:5b8d:2e7c:d238:2d28]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-649b30b5825sm4981931d50.24.2026.02.02.04.23.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 04:23: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 v4 1/2] staging: axis-fifo: align fifo depth types with OF API Date: Mon, 2 Feb 2026 09:23:16 -0300 Message-ID: <20260202122317.13821-2-gustavopiazdasilva2102@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260202122317.13821-1-gustavopiazdasilva2102@gmail.com> References: <20260202122317.13821-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: 8bit 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-fifo/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 { 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 */ wait_queue_head_t read_queue; /* wait queue for asynchronos read */ struct mutex read_lock; /* lock for reading */ -- 2.52.0