[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH][for-4.19 v3] xen: address violations of Rule 11.9


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 18 Oct 2023 17:19:00 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6xOcxw5jChZOZtOPT0VwNiHO+ohxXpx3N1Jwp+GTT0E=; b=F2iBU+D/TnN2JrvqkUadNicTtj4iqyXKSo5xA9UVw4sMA0BFo3Bb2Ust1wetgBdEAP8SuyO4OoaEKyVwILDeFwiqDRUg0LnYPNZxVfQT3sOh2z0CXJLrswRiNkb2OvO5EACHTdQwD54I4LuCou3O4ew/Pd8DzNe4rWGLROfiY3jPUWxj4HSBDgykjkca4StAlvmV059IBAxJNI2HR8i//mS8SwpcAosoUUF0ernzSQ5sHDljWXINN6TUtrxCSOxYf++BZTkYLIqdz0WQho+6RQ/bFA4RL4xuG5easY9BRrBCMzjewK9jUftcBin1nDCAwauk521PVSCKyI9uljI4fQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WK6Zmgw59gAF9M9mpqn5ZrPvRZBw+do2+G4g6xALToVvedMvdaQnZJtCytjbLT58SL7xYsCkuhJKTBMTahAfRBADB7TQN+Imb016Uxlah994K1PdWPesOmtXEaCDBgMpryKNiaGBS9yHQsw9lCmIArevBJ4tUpAVd3leJp/c8DF/AFRqcCvDv6QmK0x6Qx/p21uv5tEJdgLr8byc/9rrvKKeEYCNgfGB/bjkU78I9TlOXLIdrxxUryqIF5xjc99+KNFS+9zSr7ZkxiZFsuRBe1huOxXwrBHqvrN5CEN1O9ta240IBTlmp2jsqs1/RR4h+XQWFueNcEkkhxEJpGNnwg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: sstabellini@xxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, Simone Ballarin <simone.ballarin@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 18 Oct 2023 15:19:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 18.10.2023 15:42, Nicola Vetrini wrote:
> The constant 0 is used instead of NULL in '__ACCESS_ONCE' as a
> compile-time check to detect non-scalar types; its usage for this
> purpose is deviated.
> 
> Furthermore, the 'typeof_field' macro is introduced as a general way
> to access the type of a struct member without declaring a variable
> of struct type. Both this macro and 'sizeof_field' are moved to
> 'xen/macros.h'.
> 
> No functional change intended.
> 
> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.