From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) (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 913432C84F; Thu, 4 Jan 2024 19:24:17 +0000 (UTC) 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="H8c+SgAk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704396257; x=1735932257; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qkwcWTRnPuLK3bQ1zp6BZNHfneeNLWWLi4JM7xkbcJE=; b=H8c+SgAkbMwqG4dKL8t2NY1okX1mw4vNjpuarJIGNs2WDcvvlpF7KS4G VsppEgCOsMfQ7G7xrNdFVtv67kOkVSwWgFrMXLXeNW41QTEpyxrvwC5dL rwwtLHWa/MORsLgLp0vMyPvTbtgYckrx403gojtM5HjmW72Pd3XBb6Lgu IQ7PmQgCSexLOorfZaZPOjermLMCpSpmiRxsy9UTXHPhONvgwVSzjCLvm llAnlA2u5jzdv+jJ/LW0qNfeYQYzsXU1OCHRNqg5zY1k6pAA/3/ZldvLC /+nJEIksPw4ys8y+jT8Cc1kCvSJkNqzOP9jYRO1G+rqhqO/YNjHv0F2QZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="396225338" X-IronPort-AV: E=Sophos;i="6.04,331,1695711600"; d="scan'208";a="396225338" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 11:24:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="814742448" X-IronPort-AV: E=Sophos;i="6.04,331,1695711600"; d="scan'208";a="814742448" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 04 Jan 2024 11:24:14 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rLTK7-0000Ml-1E; Thu, 04 Jan 2024 19:24:11 +0000 Date: Fri, 5 Jan 2024 03:23:17 +0800 From: kernel test robot To: Zack Rusin , linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Zack Rusin , Dmitry Torokhov , Arnd Bergmann , Robert Jarzmik , Raul Rangel , linux-input@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] input/vmmouse: Fix device name copies Message-ID: <202401050307.tWbIHuS1-lkp@intel.com> References: <20240104050605.1773158-1-zack.rusin@broadcom.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240104050605.1773158-1-zack.rusin@broadcom.com> Hi Zack, kernel test robot noticed the following build warnings: [auto build test WARNING on dtor-input/next] [also build test WARNING on dtor-input/for-linus linus/master v6.7-rc8 next-20240104] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Zack-Rusin/input-vmmouse-Fix-device-name-copies/20240104-130724 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next patch link: https://lore.kernel.org/r/20240104050605.1773158-1-zack.rusin%40broadcom.com patch subject: [PATCH v2] input/vmmouse: Fix device name copies config: i386-randconfig-061-20240104 (https://download.01.org/0day-ci/archive/20240105/202401050307.tWbIHuS1-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240105/202401050307.tWbIHuS1-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/202401050307.tWbIHuS1-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/input/mouse/vmmouse.c:77:52: sparse: sparse: Variable length array is used. >> drivers/input/mouse/vmmouse.c:77:14: sparse: sparse: flexible array member 'phys' is not last vim +77 drivers/input/mouse/vmmouse.c 67 68 /** 69 * struct vmmouse_data - private data structure for the vmmouse driver 70 * 71 * @abs_dev: "Absolute" device used to report absolute mouse movement. 72 * @phys: Physical path for the absolute device. 73 * @dev_name: Name attribute name for the absolute device. 74 */ 75 struct vmmouse_data { 76 struct input_dev *abs_dev; > 77 char phys[sizeof_field(struct serio, phys) + 78 strlen(VMMOUSE_PHYS_NAME_POSTFIX_STR)]; 79 char dev_name[128]; 80 }; 81 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki