Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp395973ybt; Wed, 24 Jun 2020 01:53:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy8WDdK+0MoCxFzqOmWYERBDKzYKXAVmMduhglOy2rw9fK+0BT0fZ/PzwSwCYI2LgFwfr0 X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr12873396ejg.410.1592988787810; Wed, 24 Jun 2020 01:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592988787; cv=none; d=google.com; s=arc-20160816; b=uW9+KB1nbgDEdujIi81CJvEyYHHYPfBBcTEwqq/nPMr1MNyqy76fKWZkXEhaoLT8o7 pGhB6S2YRykjC9ftjX7ESgIRKYbRHRa9ecZfxwUZIF23nCMBxISZ4hmfhuwtdpm2yU13 0MHPMjqPPGrYPjZHUvE8XO8zEhqhnynE489QXMxCsfh07Q7FaNyNQdYEICx0l4Wex/cY s+5Il78+MbbsaZmp5AvNNTKUgT7xmppBNbwCZU7d9wSA7qjemNNbSu9z/zZrouE9l3Zq DdHY1MevKVhYCQXD8Iv+yZLjlcdUYynrMNgkY8VzFyRIYn8HXdvQXt4/bQnXOuckU5vc //yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CQK39Naree2OpktAeRV9UfaORCzvGJ5NMfaEOInAagk=; b=HyWkwInzdnHvxJDp5T/b3mThqWeGK5+j3s4ySH1ewNeVCr770UZTgsnRSG8Ug8wr22 wFpBmFNyRLnqnzZ5tetjd65BlZnKlUcx+XMKqNrox3CQ5qlc+BRbqln/nca3CJjxVm/h /L2uSM26NphZp0k/ab+4A0fi9b/fjOcnwOX7imv/dtUboxqTQBJMxNgShyRD4wTNFoiz AiD5bdwH3SaXo9mCDRzqY/BQMm1lUO4gBF/7SoTx+QBlqBbHwZM89UJ92Es8Fu/vMdxz aSn9+CiJLAxOOZpCHtKqDFv2S5hFwWhlXCttkWMpMslMtiLra+AP4+0+e+13PAOlttH3 j31w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm27si12761340edb.248.2020.06.24.01.52.44; Wed, 24 Jun 2020 01:53:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389325AbgFXItx (ORCPT + 99 others); Wed, 24 Jun 2020 04:49:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:41514 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389220AbgFXItt (ORCPT ); Wed, 24 Jun 2020 04:49:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DD63BAD76; Wed, 24 Jun 2020 08:49:47 +0000 (UTC) Date: Wed, 24 Jun 2020 10:49:47 +0200 From: Petr Mladek To: John Ogness Cc: Peter Zijlstra , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Paul McKenney , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] crash: add VMCOREINFO macro to define offset in a struct declared by typedef Message-ID: <20200624084947.GA6156@alley> References: <20200618144919.9806-1-john.ogness@linutronix.de> <20200618144919.9806-2-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618144919.9806-2-john.ogness@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2020-06-18 16:55:17, John Ogness wrote: > The existing macro VMCOREINFO_OFFSET() can't be used for structures > declared via typedef because "struct" is not part of type definition. > > Create another macro for this purpose. > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr