From patchwork Wed Nov 16 17:03:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Perret X-Patchwork-Id: 13045595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8552FC43219 for ; Wed, 16 Nov 2022 17:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=epNNo9/qn8P2ydk1KyaPDOrKnkGPfAw4ZmCBtYaaaCM=; b=u8Oll0ZNJwJeNzQAa+10mR2S1n VC2mQhD9pWxkfaC6guoZhYVR1w7Zvmri6k8/JNIS2xHY2ZIi3c4q/iJvCXP0qJk6BBz+qn2zxin4j 2uXHH4vZYcL5/3q0/wQtsZf41jMtNt6qXJ+XO1JVvfYhpGihVidMk9iN+sE5yrnRXuMOrQEYOL9wj FJxuZiQ4zYcD3Tu6d5wsgU+mI4C1QGAC7NlRZj3ddfLfBRsY7ffi/c0Eb7FHkNVV0XBsKoen5/s8q hRMqguNJyHALw5ui0Ws5rylgx61QVDIFpYSushuzrvGwXQ9MrOK8cSOZNQMkVp4VDjjWm/1ZxRR6m Axakf6UA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovLpf-006E9f-2x; Wed, 16 Nov 2022 17:04:15 +0000 Received: from mail-ed1-x549.google.com ([2a00:1450:4864:20::549]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovLpC-006Dv2-8i for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 17:03:47 +0000 Received: by mail-ed1-x549.google.com with SMTP id z11-20020a056402274b00b00461dba91468so12731166edd.6 for ; Wed, 16 Nov 2022 09:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ZZfWEaD62D9o2yY+d8fPCV/TvX2mmnJ/lA4TWGZpU/Y=; b=owF7hcDYc7ARmaK3i4us45Buk3Hh4AaTv5/+cKPRjHVZDIsgAhyaaD8kUAeUCfxSO2 i34X8FsVMm6muOHaIq3236zRzgJxUIIVryWbc2zaClYOFG+cg2kubcLxii5YzeBJ/Wrb 6XN+W6iPnAXY4mwrIR2eERMKLpuNuF2/WSzaFKJUP5zVeqebPik7UrCEc8nmyl9o+/QX rVi4S1f2Bl6lq9gEqZHRpokRv9qHjUua4dbVaLgePsKR8mzYVbxv/j24DM6IAAtCetIJ e+axcpBqUiKKMYaoUZeUmyYLnvJmFgcHinFuYHvL3lHYSGhSKFyJRdi9y+aYHde6hcCU BTqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZZfWEaD62D9o2yY+d8fPCV/TvX2mmnJ/lA4TWGZpU/Y=; b=SF2p2v9dRuOHINdk3MecDwiVcPFA5CjN2YlhDHV4MlVmIf7xNInhFfqjH/ILLHbHgq FZXb+CDVx15tA6IkljPO8ESebcYADrb0o5rsI0qaUeyLnlDYVcSL3bo/UqFzT8diay7k saNSCQyHSxHcqLgjGQMLWUyRyOLo1h9YB8G0pPtGUbza1FY7hsThJuXnN70hCmC2fA4L 4JSeiX3+IuPtkM6ObnoOpBC5HwoDLspXeQxDYyQ3NCFReFd266tMvWK8WQLmTSEyX6Xb 99RWobePON8Gl0xDBGtU2BhqSpg64zpsxZ7NtFfkfGrUIgbMKSLFbuS6fR52o+2PIvWS EKUg== X-Gm-Message-State: ANoB5pkm8w1qZYIFkOTbo2Ked0H6qQlkKlSj2BaRf1F6E7xI/QdUAB99 FIZ8tAVqAWayo1KohQ3jx2VCQN5sKUfo X-Google-Smtp-Source: AA0mqf6QO3MDsO7JzLptdiGQKZSsnQfuLfYcQHIY4zJIFRNqovseLoflW/BcyRmShwPFqqN6vg48qiCIOxkh X-Received: from big-boi.c.googlers.com ([fda3:e722:ac3:cc00:31:98fb:c0a8:129]) (user=qperret job=sendgmr) by 2002:a17:907:8c15:b0:78d:9e04:d8c2 with SMTP id ta21-20020a1709078c1500b0078d9e04d8c2mr17680562ejc.614.1668618223040; Wed, 16 Nov 2022 09:03:43 -0800 (PST) Date: Wed, 16 Nov 2022 17:03:25 +0000 In-Reply-To: <20221116170335.2341003-1-qperret@google.com> Mime-Version: 1.0 References: <20221116170335.2341003-1-qperret@google.com> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog Message-ID: <20221116170335.2341003-3-qperret@google.com> Subject: [PATCH 02/12] firmware: arm_ffa: Move comment before the field it is documenting From: Quentin Perret To: Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Catalin Marinas , Will Deacon , Sudeep Holla , Andrew Walbran Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kernel-team@android.com, qperret@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_090346_338944_3686A4A0 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Will Deacon This is consistent with the other comments in the struct. Co-developed-by: Andrew Walbran Signed-off-by: Andrew Walbran Signed-off-by: Will Deacon Signed-off-by: Quentin Perret Reviewed-by: Sudeep Holla --- include/linux/arm_ffa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/arm_ffa.h b/include/linux/arm_ffa.h index daff44d777fa..c87aeecaa9b2 100644 --- a/include/linux/arm_ffa.h +++ b/include/linux/arm_ffa.h @@ -244,11 +244,11 @@ struct ffa_mem_region_attributes { */ #define FFA_MEM_RETRIEVE_SELF_BORROWER BIT(0) u8 flag; - u32 composite_off; /* * Offset in bytes from the start of the outer `ffa_memory_region` to * an `struct ffa_mem_region_addr_range`. */ + u32 composite_off; u64 reserved; };