Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp306595lqb; Thu, 14 Mar 2024 11:43:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTV0iu28J5YYtnPbyurXzQlq/qCNXVA9HxFovECAj/wQLFW3obcrFAlxczNd6c8cdTE84DpqcK+M9h1YvbXkGE8boQZyKK3ISeTHG2Ig== X-Google-Smtp-Source: AGHT+IFuvShpUMar/GrwWLEb3Wpz6uud397jhusDUR6npIM0JRj+DCmkm8sm3WpcsuSNypsDBVSV X-Received: by 2002:a05:6122:1792:b0:4d4:b89:bd2d with SMTP id o18-20020a056122179200b004d40b89bd2dmr3478766vkf.1.1710441800912; Thu, 14 Mar 2024 11:43:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710441800; cv=pass; d=google.com; s=arc-20160816; b=VL9X02KvEdE23po1YVAPEY/o1WUz9ECDzdsRZu/qcISvan3PAn9C2ytgUs2G8E7x3L HXw3DhqQyrlnwrw6XUDl17oWAjSZm7XP2zC7SAn/IUUTuNfzgUyBKJUPAC8tDKy1PMih NqJ9h8Dv09xTkMxtthTD7IrUg+Z+KbuK4RbCdv53R3Nce0+43c+YuLe+NqDrlVkZagTH oL1OaZctcnnsikqLn3YSsJqclYRaPF+Q5th8irtLy9yFBGgrHbwkJrlrAHcy1FKhwJ4r cO3nQzqEGoo7lO/ODWUM7N0zqSHN/CRy5Az6w4mT12jOr6e68J+RBWAZ42e+iZ4lbUDP Nr/w== 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:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=lRBdz+TTjKnmNqSOMdgZyda1Ih+01wkUCAjYAj7VG7M=; fh=6H+OLVOFCFqKNsrT2InfMm1BkNQRkyn7EuqQcd+WFmk=; b=ZS9uYFlQfFylPPucsTMb5ScUuW1wPljzI0unUjx/OP0Mlh460PjYwIkiaJ3DpoWu4W W4mp+GnXk2Xxm8ojzLVAOgRaDdVTXaPMWiRz/svKQ0TVP5JxDZgfemhmC1t7q9sFoxYP hGvfNOHKPtCVfMrxNW+Yb1cYdgDUkuI+EYZCtKnG2NUjya/OJG0dyhrO4DVWKwf78VwJ BrrFR1/Jqw9DiQyWu+IAc+XenxIDiPutOjBUJnkB3vt7rt2liOCh8rLrNIxuOCpeHoza EaVY8ykA9sr3qpim4OILEs6T9RQlJBJRzG4MIjKfg0u675EKg5a8/PxChc9A/Y/M3mJZ Esog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=f4F7ym39; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=J+JfS7kT; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-103682-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kl20-20020a056214519400b0068f5be39eb5si1170478qvb.247.2024.03.14.11.43.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 11:43:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103682-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=f4F7ym39; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=J+JfS7kT; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-103682-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 87F211C210CA for ; Thu, 14 Mar 2024 18:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A71A757F8; Thu, 14 Mar 2024 18:42:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="f4F7ym39"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="J+JfS7kT" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B151E73161; Thu, 14 Mar 2024 18:42:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710441775; cv=none; b=X/0RC08tI+NnXpFsKFz17ByLaF9fBrBbApc/f0t/IdvnFgq6OVlC+w7ekMF7+cLjNp4LzKT2kdJjVBpypH1KmZ7YbMtUkI55/29S40iEsTHow4210Wrqq/IOkNl9UFs6q3e0uu8Aoc9tU/TTue353tV/RP+OELEFEFc5IdsIK9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710441775; c=relaxed/simple; bh=9fQNmauwXVLbx3l/9AQwaKv4QnHJbY0M91gE202lHGI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Gb5wsuc9gVn0nVD442v6QSOtpjQLWFsX/XO4e/W1xQuUao5sy6a6c7j7j1d1NmM3YlBSb077a+ARUiqoMmV2r8QqPjqKeNVl03NbGDreICIwfjk3uEn9PYyDE2tZ+CuwASGl0k1MMElRZjXIBF6+gRBVcBoRmwqJrCx2Lt9zx4c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=f4F7ym39; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=J+JfS7kT; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710441771; 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=lRBdz+TTjKnmNqSOMdgZyda1Ih+01wkUCAjYAj7VG7M=; b=f4F7ym39ldanAoN48evdVViY2cckN4OqtXrPyrUuVexxb7uyU0Z1axPpdretXXxXus/rdj HVPnULNDcgB+UqtcNZULb+r2VYrEC4QUzaUl4BW0Jwmjx7QiR+VP+MYFvk5+YH5OQNrFww VzXbn1MHx2Lm/3C9Ja1TYaiyGHLEK0K+mSdAh5zy0UTYS+YOyiWl7OVnotCmRI5Cy7N3fT 41svQsMQvwYl+r4ezy7OJN3KTvbO8P+Sco/nmgCsUBA7xMHGVgzrmL+7L/RsviBZgvPxmn XnJWwIhPd7IXO66ln4wTY9fma2C/Z0K6OtYfWLiUvP+9np1kk3vUxESDXPfuBg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710441771; 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=lRBdz+TTjKnmNqSOMdgZyda1Ih+01wkUCAjYAj7VG7M=; b=J+JfS7kTuRvMpuzDrlI3qwNlwu3mRLdXk5S7Kxx42qW2KPIf6vQyzaa7wztnI7fSRzK0Zz 48vKeFN4z0EkefBw== To: Sagi Maimon Cc: richardcochran@gmail.com, luto@kernel.org, datglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, arnd@arndb.de, geert@linux-m68k.org, peterz@infradead.org, hannes@cmpxchg.org, sohil.mehta@intel.com, rick.p.edgecombe@intel.com, nphamcs@gmail.com, palmer@sifive.com, keescook@chromium.org, legion@kernel.org, mark.rutland@arm.com, mszeredi@redhat.com, casey@schaufler-ca.com, reibax@gmail.com, davem@davemloft.net, brauner@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v7] posix-timers: add clock_compare system call In-Reply-To: References: <20240314090540.14091-1-maimon.sagi@gmail.com> <87a5n1m5j1.ffs@tglx> Date: Thu, 14 Mar 2024 19:42:51 +0100 Message-ID: <87y1aklkno.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Mar 14 2024 at 17:46, Sagi Maimon wrote: Can you please trim your replies? I really have better things to do than doing detective work to find 10 new lines within 200+ irrelevant ones. > On Thu, Mar 14, 2024 at 1:12=E2=80=AFPM Thomas Gleixner wrote: >> Please read and follow the documentation provided at: >> >> https://www.kernel.org/doc/html/latest/process/maintainer-tip.html >> > I have missed this part on prviews reply. > I have read the documentation above and I think that the variable > declarations at the beginning of a function is in reverse fir tree > order meaning from big to small, but I guess that I am missing something, > can you please explain what is wrong with the variable declaration, > so I can fix it. >> > + struct timespec64 ts_a, ts_a1, ts_b, ts_a2; >> > + struct system_device_crosststamp xtstamp_a1, xtstamp_a2, xtstamp= _b; >> > + const struct k_clock *kc_a, *kc_b; >> > + ktime_t ktime_a; >> > + s64 ts_offs_err =3D 0; >> > + int error =3D 0; >> > + bool crosstime_support_a =3D false; >> > + bool crosstime_support_b =3D false; It's not about the data type. Look at the three layouts and figure out which one is better to parse.