From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (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 E872518F2C4 for ; Tue, 3 Sep 2024 17:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725385542; cv=none; b=HlsGcc9u3Z9aMsb7EZhDGRUS2frWDvK4NoX3jW1dsu1KcQU9El9DGqPZZtoO+p26UdQy9Zbcb0ItHQdeeBekPAlrCjqSA4BB5+lTNR64T8YAUQ0ghDqwZLsHnjjXsU0oRhMIVJVjVVDsu14x4nEdK5cgWzfsVCyNQogh/lFV+nU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725385542; c=relaxed/simple; bh=tmLHyBWRKQOXP83hFUC5eqTGxvHhDGqj62+4WSqNhLg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OowfeaWi99g4YcZQWZFfNTQ6VHAF1iINx4lAMjlGkStULmBsndAKTvonJTLdHWftOgZwnapawEdf5NIK3ntOGyZt0LsdJia4YIh9mBh9BYBl26ztLzlT27YiIDUjpzyYgrQjtIbbvqiD7Ebc1dXuPHmBnBVh2dTfzMYCn+toDsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R3MwxzxZ; arc=none smtp.client-ip=209.85.166.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R3MwxzxZ" Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-82a22127e97so257561539f.0 for ; Tue, 03 Sep 2024 10:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1725385540; x=1725990340; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2CfCUXPwTuKDSS4V+2JDx2g+w3NaNXN4kLDT7fz6YbA=; b=R3MwxzxZgwBd2D3rXY82ixVfku9uU+HI5Sueq6caBdIg5Ww1tcImSsVOfPRCp3/CNZ 2g/hz6HWtJIJdDrH0XLkiT767So23LwmMD8dX1ihf7HwuJ8Q3NhGGuNGVeg0cxOfu7UD GznBhJnffkywvNQ1dCbUPUEEZyrS9A0Pq4J0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725385540; x=1725990340; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2CfCUXPwTuKDSS4V+2JDx2g+w3NaNXN4kLDT7fz6YbA=; b=VnN8KPuP3vAyZ32T/i/smmaXa7z4LU/NaawhwgpMhz7L6WU4VmuJLgsIBbhUxkdQVQ ykBi0VPXa0YicZRNeWBWP3bryZBc8dQRq/3yALqsJ+l8KBYfT3fND8zETNxzDY9dA6uw ZPs7o5pUwZZM6v0d7kS8dbV+NdngpVqfuYII/Xn8i7l/wr4GK0VmbE7Xs2xK7zh9j6sO XHeH27gdiANfZHpLfF3sWOZFcJhGfYzSLaAUu9PxpUm/O5bPRKzhAyTUdA+E7NPzii9I G2X2+Cb6NPbph19udegLPlxi1oR/eyaYxbrX6G3ShbbYFxF6kL0enza3cwCbD57KJlPi Ozcg== X-Forwarded-Encrypted: i=1; AJvYcCVSBpT6srfRT0Kx9rI8aom3MSpsEjV6+yD2NSPXlSmmFUyQ39d8rQWuiyqfBpUsv+/yC0I5G32qd/IfvBiHESQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yxtt7J7hcCvaqYTfxJnwekFuoSjjc39TTmPpc+S+4pJaGylX2Kp dvqEwpLvK/lbbkvw+ZRYXn+a1ESeOMbmDC9b0wdYm8BY0qMW+sU2Ge4U7Cj3iqg= X-Google-Smtp-Source: AGHT+IFj0D0gfLdT8okAc9oFR9k6hi/DKqmjBZCI1iVGf8G9Z3WbgHeoS8IPkBZMqCW9IAWep0jTUA== X-Received: by 2002:a05:6602:6c0a:b0:82a:3ca1:6f75 with SMTP id ca18e2360f4ac-82a648a0e4emr419865839f.8.1725385539904; Tue, 03 Sep 2024 10:45:39 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ced2ecd888sm2729179173.156.2024.09.03.10.45.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Sep 2024 10:45:39 -0700 (PDT) Message-ID: <405c28dd-bf6d-4f17-92c4-182808182899@linuxfoundation.org> Date: Tue, 3 Sep 2024 11:45:38 -0600 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] selftests: filesystems: fix warn_unused_result build warnings To: Abhinav Jain , shuah@kernel.org Cc: javier.carrasco.cruz@gmail.com, Shuah Khan , linux-kselftest@vger.kernel.org, brauner@kernel.org, linux-kernel@vger.kernel.org References: <20240810135333.672845-1-jain.abhinav177@gmail.com> <5fd97d54-fa64-4c03-865f-961ed4596a6e@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <5fd97d54-fa64-4c03-865f-961ed4596a6e@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 8/16/24 07:11, Shuah Khan wrote: > On 8/10/24 07:53, Abhinav Jain wrote: >> Add return value checks for read & write calls in test_listmount_ns >> function. This patch resolves below compilation warnings: >> >> ``` >> statmount_test_ns.c: In function ‘test_listmount_ns’: >> >> statmount_test_ns.c:322:17: warning: ignoring return value of ‘write’ >> declared with attribute ‘warn_unused_result’ [-Wunused-result] >> >> statmount_test_ns.c:323:17: warning: ignoring return value of ‘read’ >> declared with attribute ‘warn_unused_result’ [-Wunused-result] >> ``` >> >> Signed-off-by: Abhinav Jain >> --- > Hi Christian, > > Let me know if it is okay to take this patch through kselftest tree. > The change looks good to me. > > thanks, > -- Shuah Thank you for the patch. Applied to linux-kselftest next for Linux 6.12-rc1 thanks, -- Shuah