Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3024042lqo; Tue, 14 May 2024 18:08:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpsoLPX3HoeB+dO6Q1QYXBjU9tpOIp43GfCWJCDERZ8rwVJZsbCNI14e//LPK3uqAkxvlLJix0KffzxzABqUtqgtjCkzcqRbZ6g/r8jA== X-Google-Smtp-Source: AGHT+IGsBRN0yaj4uJnIGMLmKZhyOqGQLPbmv1hgHhxb28f+Y1g8SRuqXURzKQH8cdcmAfBs4g/E X-Received: by 2002:a05:6358:7f07:b0:18a:68c9:d7b8 with SMTP id e5c5f4694b2df-193baf0130fmr1587347955d.8.1715735310274; Tue, 14 May 2024 18:08:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715735310; cv=pass; d=google.com; s=arc-20160816; b=z/DRpdfceN/zcZXge0PPHoJYfOfyNhIjnvojdodj6fo/Wf/Iiw812iqJ8rjwPCHfeW HPiQDTQ0p6w1A79WSQylBre59lnKJwlPbE5unSU1s7kVK7HJkQtFA7zR2W7liyAOJWGu U1Kti/YLUeaKYpqfNhGVRMNxkf4tcwKDwsz3kM+M5XtvYEACI6Sopxe6bTIyOhoSX6RY DnWNXPdM1JBZaUrpQGZUMZE3vQ67ZEqdz87bvMqtVH5UQzuo9eN8O2tUwfkFNFXuYa1x UWh/L4MmJeLKWK97Cfp1y9/hcUYkDBtp2wxPnH46KMBrowWX1i2bKedcTtAy0zBlj97f s0NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=oEOuUmrraVajZP9NumOJGczPjev4TG6biSN92z3lk0k=; fh=s39J8r0ooOYPXQt9dmIbRoirNIyH/NyaTjG7yoK8hEA=; b=PGjoRiDgIPabMiF/th7JCnZB3jSISr/EMbCFq0qeV/lZ8rfDi1AqZ3dH6PaP+syhhK WGgw7JoIaLQdcO4+g8vRAoV9bJ3BYxYMh3Q1Y+L9pxuJjLY/vDuAgI5kXs3uLC0yBsOk 80r9XStUGZlYYklMa1yRR5GfVrbfN5T0xXcFvg37R847FkU99i0jrmZDXkb9FzNsp6c7 g87pkuQN+KMROxLDGHCqcOr+DapUqA14KorChvOPiWhjETWJVCNnpF0cBU21gkmTlh2S 3kCE4e5ECUXqnSTtowIlGEPf9uA2JVEeFzhKHVoQkJIIAI9kopkWEE9k/lzoeH0A2TSw oj2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i3I7We6z; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-179307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f5bdesi12521980a12.267.2024.05.14.18.08.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 18:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i3I7We6z; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-179307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D293C282964 for ; Wed, 15 May 2024 01:08:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AE0E1C17; Wed, 15 May 2024 01:08:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i3I7We6z" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 829B55CB0; Wed, 15 May 2024 01:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715735302; cv=none; b=D45ki/HVFU2u1zvpUAS+8DDBk3u9hk0zZfLIC7Fy7VhQY7QKPAt8wwiFclSozbd7/8Ei3OtK00yqOhtVGVXdAhv6yXmFlUdkmrd9Zslgvk1XvCMnSFK2cy6jt0MTzGELGXXW3lQ1UKTe84DXO5k+a7dDMpHlgwIaOVRP1jlkhj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715735302; c=relaxed/simple; bh=D69ZLC8/gjwZxvU+Y4nvOh9+wCwb1dUPhipLaDHJTd8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P3J8TFH9WkiNIlzNtMgpcii4KyNa320nf2J0eLQDKDHmqeGQY/r45pxNsrSvLepmZuDyH43ZEzzFlJormBM5YT+UMnZgmaPp6MF3qXK8nm/mdKUYg3VCJokR2yZNMdTx+5SRbxeJtgwz7qcf65LtFcE/KJWbjVFhsL00RE4xAXs= 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=i3I7We6z; arc=none smtp.client-ip=209.85.210.172 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 Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6f4dcc3eeb3so3589945b3a.0; Tue, 14 May 2024 18:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715735300; x=1716340100; 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=oEOuUmrraVajZP9NumOJGczPjev4TG6biSN92z3lk0k=; b=i3I7We6ztg0PplCVUQqhfrhvi/KFp8gskcg35QEDt01Et1y1yLXIrBFw1dq6ru2wQP P5OSHo/515ulToKUhuohdS53EUY2NFXmom16WzVYsB7HFWrZITzKPdPNyTwb/hNocHTd Yf/Wj0t7rcbL9d9xXHLX+RPZ+cgqfPRchfbYY07dieSxOo23FT4ql9JRoY77U5xDSsrE NCmrpXAfbwDVQ09MVXHDH+qipHYXTeb/96lRXRsNsMrdtrI4qfkSUxzx9SDxYn7L3D66 ov7bfeGNRnTT9XOjPSv9BEDdHlKvB2xyn8gk5WeEPRrh9BXFFiAprPSiY9x59SQ2oL/O BpBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715735300; x=1716340100; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oEOuUmrraVajZP9NumOJGczPjev4TG6biSN92z3lk0k=; b=UK/nF4SEgW/e1P8KB5a/7nUK7p2ti600ELm1gRw31aPDUfWcm9RyTrs4skG+0x0ajw zTIxFF/f3WX5D9FH0kJ0oegQbJ/s/w7pWOtfJEyqie+0BP1eCdOG1Y/TaJiQiOEkZx5P +b3/6R5Hil0EaHQprN3sZBBwGoZ/A5uPDwrk0K2IwJklZ7lwuT5HIWvABqoSRWb54FGz 2N3N6BzKkbQwb0Il5IRRiFLaEkvb28NtUUWhbFfj9FK5KK42GKzXCmb0qxr8mCpGSiQd 187gldcmxoYE+xYvlQvgK+8gk43cxwatPke14JFO9pf4MVGddCZijNo58wsYvvUGT2Hf w+5g== X-Forwarded-Encrypted: i=1; AJvYcCWGqwW/nmLt/PdrIytacOYYp9uw/z6AlZRvu8f6K0LLRmrAUirrAXUnyxEIz6UKeyRR5mClkaCzAA2K6i/oBLABIJyxfjcDhS/v6lFe X-Gm-Message-State: AOJu0YxPBlCsWR3gRPI16LCQD68y44iHik2Wn6nlM1gwtx43HKh+hUOx RQKEecTFfEmjw8elTm8HlanrU8lXLOAYIE9+zZpcCNJzG2Cl3Ts8sCwAWHj5y+Q= X-Received: by 2002:a05:6a20:43a7:b0:1af:fa18:76f7 with SMTP id adf61e73a8af0-1affa18795amr7375050637.39.1715735299986; Tue, 14 May 2024 18:08:19 -0700 (PDT) Received: from server.ucalgary.ca (S0106f85e42401d5e.cg.shawcable.net. [174.0.240.170]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d16cfsm104973325ad.18.2024.05.14.18.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 18:08:19 -0700 (PDT) From: Abhinav Saxena To: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Cc: Shuah Khan , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Abhinav Saxena Subject: [RFC PATCH 0/4] selftests/binderfs: Fixes to binderfs_test Date: Wed, 15 May 2024 01:08:01 +0000 Message-Id: <20240515010805.605511-1-xandfury@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi everyone, My name is Abhinav Saxena. I am a graduate student at the University of Calgary. This is my first patch series for the Linux kernel. I am applying for the "Linux kernel Bug Fixing Summer Unpaid 2024". Apologies in advance if I made any trivial mistakes :) This patch mainly includes issues reported by checkpatch.pl. The changes include: - Running clang-format on `binderfs_test.c` to fix formatting issues. - Updates the macro close_prot_errno_disarm macro. Testing: I tested patches on my local machine (ARM64 ubuntu) with checkpatch.pl and running the selftests. Best, Abhinav Abhinav Saxena (4): run clang-format on bindergfs test update close_prot_errno_disarm macro to do{...}while(false) structure for safety Macro argument 'fd' may be better as '(fd)' to avoid precedence issues add missing a blank line after declarations; fix alignment formatting .../filesystems/binderfs/binderfs_test.c | 204 +++++++++++------- 1 file changed, 126 insertions(+), 78 deletions(-) -- 2.34.1