Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2125961lqb; Mon, 27 May 2024 08:38:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4zSLZ4DAYGvLFtEHEqYqmqw4oTKGwFIkEfcFge5ZW6ihFJbFkcOmceFEtbuVK6boLIrYBDlIPQhYcfAg1HTUg0EaH/iwCSL1Y0kqI0w== X-Google-Smtp-Source: AGHT+IG1Gxbqnct6PHBUjg2WpfPWo/42GepPuESmNOAmMXvVXBPwQvsQOs6ZIzdAvM992fzva7su X-Received: by 2002:a05:6214:4686:b0:6ab:99df:4107 with SMTP id 6a1803df08f44-6abcd13baedmr118457876d6.57.1716824281991; Mon, 27 May 2024 08:38:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716824281; cv=pass; d=google.com; s=arc-20160816; b=VBesEuHAFYjt2ZfY1sx6iBL+gENWGFoJXXRSG5PRCWB9PdmdaXzcId0BeyL3sIcqWu H648oTF/HAzzkcQJe0UIpLHentM+x4iywpK53y7UGVJimXZnRnxROOTexAnFUmuLI1Z1 MKnJTmgi03LbsnlEOOJa5qsqcnCMT4LlKVRTsxEQJFp0dDwngZdZY3uQSjoQRSW/uQUJ AiKR0TdZJU+D/JFVLbgzjm6SV/Va2jjTVcKKDb2esaJk6o7XCcJXaXOpSKplB8dIemzF qjAXmwfifoAL/JE8ON+0kJhfz7UBGaVGLgelWh6hmGJn00JHTuLpDPUFo2LW7jn1y4X3 lgfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:from:date:dkim-signature; bh=BgoAaisUupQR1KrE7TIpKFvfb16pFMu0O37yoWc8VTg=; fh=47+lBDjy4BAfA18UbylbvNNbHVd9hdz9tiC2eimtOlQ=; b=cnZhfjfXHE5pdWLwyEU52JCgDSKqbDfHuGLowZjTw2MyE95vLR4Y9gaQOhYC3TbGSQ u9lqKsoREIlOH2/SaLCR4H81IEUNGuy0Y9GDBHKua/69OTVhZcbYJuG7bVXCHMFDnbIf 3sMCrcedoCDONCHDPDi77OC9HxHkTgnajYqbCykqPodKW2ejR9iRcarrsrL3DXRAnRKA 9DfupEpZvmiENQnyDPfn0u4hfi7mt/sMFGUqVZw0Ylp3TSBw1Go5k6vZdl/0WRZfkZH5 wNNe2ag/XavS8oRC5ECOKghgNVhG86MBdQzda2qI9v3TpVDtFJ5BWdIbQEchLXIrniEh wwxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TXEariW8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-191083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac113318e5si84331546d6.356.2024.05.27.08.38.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:38:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191083-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=@intel.com header.s=Intel header.b=TXEariW8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-191083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A2EF21C221F4 for ; Mon, 27 May 2024 15:38:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFF311E4A9; Mon, 27 May 2024 15:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TXEariW8" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 5C3711640B for ; Mon, 27 May 2024 15:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824277; cv=none; b=Le0XDqxfYb/28g5mw+xU9SP0oaYeL9PjkqKYdjm+dS7kwugMFWajHflBcK2O+EWIcdaryaLfmaMKogvC2TtPFiiWj3/PtIi1d9dU/UVkducB6suNQuP4RtTEf+fBb6Kj8dvfACmShY28EcssSeYPd0a1DdEEpNn5O7X3Q4pd7ic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824277; c=relaxed/simple; bh=1FHv8VqjTK+OQiuHJUmQHzqF2Yzw88THTiswU3Z+Hu4=; h=Date:From:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=biBbE/6ko7o9HBKUVy4DdByLhHXdNP4IpdNWDPgqEEPVI2JVKWQUKirQP294CuKeb+lJF/AEkadBro2dOH23uk1vITadhnEXkn0dQeZCA+5/pmAJ9v+ymmIzPypO21nubjxFyeYH9SqCqBnjPG5foeoAe3zO9NaTljbWzpmzzWs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=TXEariW8; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716824275; x=1748360275; h=date:from:cc:subject:message-id:mime-version; bh=1FHv8VqjTK+OQiuHJUmQHzqF2Yzw88THTiswU3Z+Hu4=; b=TXEariW821Nl+Xjwddnwqka/zLcneG7X0rxIX93uz2VtgXZ68ymdg5Ly xHC3A1Yz3QvYfKDiNe+hw0K5iBTivoTdBAz9JDKEfoJtBb2oTxrUAGXDM cV01mvKzNSdBuU+dtPd8A/9VmX7fsbBWJsui53jv/tAMsEUlDoUvck9Cf cRCByHbpps4OGnb4oSrUJGiwTv8TpMeBC9v9bcDRZliclXAtDKVcq9HdZ E/Tgk1ZS2okNlXxk0XuoWq1/afdH8k9VtbHUtLkdzpq/N6AEyhLMJMdSl U08s3U+5fFPKkZbpFdaVqaOZMU8WSAYMisu6JFh1rwocc0n1dbmSMG0k4 A==; X-CSE-ConnectionGUID: jdNERxuESV6ym2pddcEWFg== X-CSE-MsgGUID: IgrqxyisTy2jLnlF4WfEhg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="16103320" X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="16103320" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 08:37:55 -0700 X-CSE-ConnectionGUID: rnhvKdY+RAGcX+08y8ASGg== X-CSE-MsgGUID: AhzGe1mfRVyhOixuFB+PTQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="39199054" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 27 May 2024 08:37:53 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sBcQ3-000An9-1w; Mon, 27 May 2024 15:37:51 +0000 Date: Mon, 27 May 2024 23:37:17 +0800 From: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Zimmermann Subject: drivers/md/dm-vdo/int-map.c:85: error: Cannot parse struct or union! Message-ID: <202405272334.ExNaB8F6-lkp@intel.com> 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=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 commit: 0d21364c6e8dc1f62c34bbc49d49935c8b01844c Merge drm/drm-next into drm-misc-next date: 8 weeks ago config: sparc64-allyesconfig (https://download.01.org/0day-ci/archive/20240527/202405272334.ExNaB8F6-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240527/202405272334.ExNaB8F6-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405272334.ExNaB8F6-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/md/dm-vdo/int-map.c:85: error: Cannot parse struct or union! drivers/md/dm-vdo/int-map.c:103: warning: Function parameter or struct member 'bucket_count' not described in 'int_map' drivers/md/dm-vdo/int-map.c:328: warning: Function parameter or struct member '__always_unused' not described in 'search_hop_list' drivers/md/dm-vdo/int-map.c:328: warning: Excess function parameter 'map' description in 'search_hop_list' drivers/md/dm-vdo/int-map.c:459: warning: Function parameter or struct member '__always_unused' not described in 'move_empty_bucket' drivers/md/dm-vdo/int-map.c:459: warning: Excess function parameter 'map' description in 'move_empty_bucket' vim +85 drivers/md/dm-vdo/int-map.c cc46b9554b3f6d Matthew Sakai 2023-11-16 64 cc46b9554b3f6d Matthew Sakai 2023-11-16 65 /** cc46b9554b3f6d Matthew Sakai 2023-11-16 66 * struct bucket - hash bucket cc46b9554b3f6d Matthew Sakai 2023-11-16 67 * cc46b9554b3f6d Matthew Sakai 2023-11-16 68 * Buckets are packed together to reduce memory usage and improve cache efficiency. It would be cc46b9554b3f6d Matthew Sakai 2023-11-16 69 * tempting to encode the hop offsets separately and maintain alignment of key/value pairs, but cc46b9554b3f6d Matthew Sakai 2023-11-16 70 * it's crucial to keep the hop fields near the buckets that they use them so they'll tend to share cc46b9554b3f6d Matthew Sakai 2023-11-16 71 * cache lines. cc46b9554b3f6d Matthew Sakai 2023-11-16 72 */ cc46b9554b3f6d Matthew Sakai 2023-11-16 73 struct __packed bucket { cc46b9554b3f6d Matthew Sakai 2023-11-16 74 /** cc46b9554b3f6d Matthew Sakai 2023-11-16 75 * @first_hop: The biased offset of the first entry in the hop list of the neighborhood cc46b9554b3f6d Matthew Sakai 2023-11-16 76 * that hashes to this bucket. cc46b9554b3f6d Matthew Sakai 2023-11-16 77 */ cc46b9554b3f6d Matthew Sakai 2023-11-16 78 u8 first_hop; cc46b9554b3f6d Matthew Sakai 2023-11-16 79 /** @next_hop: The biased offset of the next bucket in the hop list. */ cc46b9554b3f6d Matthew Sakai 2023-11-16 80 u8 next_hop; cc46b9554b3f6d Matthew Sakai 2023-11-16 81 /** @key: The key stored in this bucket. */ cc46b9554b3f6d Matthew Sakai 2023-11-16 82 u64 key; cc46b9554b3f6d Matthew Sakai 2023-11-16 83 /** @value: The value stored in this bucket (NULL if empty). */ cc46b9554b3f6d Matthew Sakai 2023-11-16 84 void *value; cc46b9554b3f6d Matthew Sakai 2023-11-16 @85 }; cc46b9554b3f6d Matthew Sakai 2023-11-16 86 :::::: The code at line 85 was first introduced by commit :::::: cc46b9554b3f6d2f09b1111386b2706e5b4f56c8 dm vdo: add basic hash map data structures :::::: TO: Matthew Sakai :::::: CC: Mike Snitzer -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki