From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC4AD2E2EF2 for ; Tue, 14 Oct 2025 11:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760441607; cv=none; b=YQqY9HJdSj4HxQjGE4+EVcVbSlMAXAWEM80JKAqLmCY5cOYldwKDfIWEtD5r12S2FbwLf48qDjZ7M/vF7ZTtxR3f2uqUU6uKHdcrt+Mqxgvq5E86Jbl3PmGF626rAJuYGdYXqoN0Ro4z4yMpWp3wLASdeJG56eEuCOYYEpQUbvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760441607; c=relaxed/simple; bh=EOiBoMq8sLGDd3lfmeBPzgdelZvp0tOnl2eG6FrkpzU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OyJUJXjvtP6YRrEUd2i5vnR27US1Lbfy5p3ox8qgGX3rAIGYJO22JodF27lS+CSDy5ZzrajSQiUokdcFohkzGkrXcx+z0NHdehBuGi+t9LYUU1FUwQ4TcsgKXXEDsC+Zf5/WIkWu0uVah9hZPDG+UzeACJDlw15yW+Vf28cG9Yg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=nr04E4ei; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="nr04E4ei" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1760441602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TCxzBWmpERGaNbcd7P2dfHjWYxDzYzg8wdZKfHQFXKQ=; b=nr04E4eiX7LIJzoKhkxJrfJGLTm++4OCq7ELggnOG2SHf1meAouxCgrl1KwLUuQ3ypmAA6 aNWjBAcNdJZJTWp2QowDUrCpem+qdcVfQ9IN/yz/i3mtm3zZKVqHpWd6CbMHoEVjT42Tcb mOI8X88kDZHGVQsLROdUsk62sp0+n0Q= Date: Tue, 14 Oct 2025 12:33:15 +0100 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next 13/14] net: hns3: add hwtstamp_get/hwtstamp_set ops To: Simon Horman Cc: Shyam Sundar S K , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Igor Russkikh , Egor Pomozov , Potnuri Bharat Teja , Dimitris Michailidis , Jian Shen , Salil Mehta , Jijie Shao , Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , Bharat Bhushan , Tariq Toukan , Brett Creeley , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Paul Barker , Yoshihiro Shimoda , MD Danish Anwar , Roger Quadros , Richard Cochran , Russell King , Vladimir Oltean , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: <20251013163749.5047-1-vadim.fedorenko@linux.dev> <20251013163749.5047-8-vadim.fedorenko@linux.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 14/10/2025 12:26, Simon Horman wrote: > On Mon, Oct 13, 2025 at 04:37:48PM +0000, Vadim Fedorenko wrote: >> And .ndo_hwtstamp_get()/.ndo_hwtstamp_set() callbacks to HNS3 framework >> to support HW timestamp configuration via netlink. >> >> Signed-off-by: Vadim Fedorenko > > Hi Vadim, > > This patch adds warnings about the functions it adds being unused. > > I would suggest addressing this by simply squashing this and the following > patch, which uses these new functions, into one patch. I think the > resulting patch would still be small, internally consistent, and easy > enough to review. > Hi Simon! Thanks for the review. I was thinking about it while writing the code, but thought it would be clearer to have it split. Apparently, I forgot about warnings in this case, which is definitely an issue here. Thanks for flagging, I'll merge these 2 patches in the next version.