Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7961240rdb; Thu, 4 Jan 2024 13:29:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGlHxUV7fEEKV/If9JegBTMIcVwTq8wl8jFcmhJDusRSntnoqePrP8s7/t2ThevxGvU7ba X-Received: by 2002:a17:906:2c13:b0:a27:ffa7:26bf with SMTP id e19-20020a1709062c1300b00a27ffa726bfmr601155ejh.145.1704403797564; Thu, 04 Jan 2024 13:29:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704403797; cv=none; d=google.com; s=arc-20160816; b=y0KiKJFfqm/Ewu3lE5tGOo6DZKYsOA0pOLcYKUn8ferssnmMtzxOa2ZhXCgD3z6Cvi OeMX+KQ4H6xdWI+ZeByD21ybRcxZPbYO1qstl7Xt5zEFHiS2x/VcR9x+uGNLMY/2CeLJ RlyX/P82ihzi64XJ0WqaI00UgEFn8/gJWRqKhJps/qCBez2ZHjfhdjKnVL7Z7lvRLvqq YogrpZlryQsPEOdckCD8YBU8E2jl5herPJxbpgy9ej0iH8KpVnlpSg5Irm0qKhuUqb4V O/+JPnidr/Ml526rSVMFmFyqN+X74npZo1piyUzcWQExA8/KxUhDhkkHRqJ1NtEssJIH PppA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bDcJlzRwgOjmf9s3ju/kHyej59d33XX1hqLumYLyfkE=; fh=c5EC6z3geseNK9kiCPrI0WhBKLlDJ1/Wbu24Qj3EJrY=; b=0HiLX6HINXAl7/NUoo3UaflINVrxWlFblLRCKIE49Fi8OEaXAu1zVXiik1KTZtF5XF wWMqxB3sMk0T8ShQ/Jtrsgow1hfQ4cBTY4TbfU3zZRSrLXeyK7CXRqybup0VN0Aj31Wy XWjQMmUtWRDl6+2thwsKTv2S5y8tUMztmakPNioX2JDFrMTwRHsBjIR6+OGiDncgQ7el EuUeYwIm/6FRWe/VaSnH0gG3FmC/D+D/GUuEfxlolNrSJgQus7KZo38r6JWZ97Rs45mh 66kc1sSPCxGRU131P9VVgZIx4I/ukx11JZug9aXuxPUSpVgZE7bIZvZObVeRLFQo56ZQ LQkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="c4exMFG/"; spf=pass (google.com: domain of linux-kernel+bounces-17239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gq24-20020a170906e25800b00a28c658ead0si64848ejb.994.2024.01.04.13.29.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 13:29:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="c4exMFG/"; spf=pass (google.com: domain of linux-kernel+bounces-17239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4D6F71F24F66 for ; Thu, 4 Jan 2024 21:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F04F32C6BF; Thu, 4 Jan 2024 21:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="c4exMFG/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82E552C6AF for ; Thu, 4 Jan 2024 21:29:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-db3fa47c2f7so899830276.0 for ; Thu, 04 Jan 2024 13:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1704403784; x=1705008584; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bDcJlzRwgOjmf9s3ju/kHyej59d33XX1hqLumYLyfkE=; b=c4exMFG/xhSFs7fVDmdOrQcBL7gKQYzdhiAsSDUhU9joP3gHFbweujXx9/YCv6GusU LipRAo6UCn1QJ8FE23VS9o+LjPKcEvoPpBUBXsiLSusU6lWwvIyti5NPNKpluZ/bKa/P 02ZYh6D29ukCcKQ+pGLHBb5dokanGVaE3CARo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704403784; x=1705008584; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bDcJlzRwgOjmf9s3ju/kHyej59d33XX1hqLumYLyfkE=; b=q1/BRR0C1deEFC/Tk85Sm3p/vGp6/J6rhfv1U8wu7CGEfsCKcMpeElrSstI69zBPCe qhAWpXc8WT8jD9BvVXboMwNWTLO/dVS7aIMZr0m1fpcP/3nD0uR7wagtEEaW68P6Bk3M QiaMZuDJx5jByXw3uHicyzL9m9g2daIylYeY0DnQ9SEzRI1DwgAfCWJE9Ek6c3ymJR2v KTgIsocrLQePw7wE3EV3XT4UBAY1O5UdWmbNM7p+RB+RJQ3nCI/EmwvRLg70oCHLemHx lO4wm4OjuYk0VCu8nIcXLXby5mkKVYIPOEncN6jXEen4BN8NVGRbDNmONwQNKArseKhK gp4Q== X-Gm-Message-State: AOJu0YxwzZM/sHCQhVfL+OUIZ6DH2+Fnt+3EevPMQj+vXWdtJiRxd38Z Cl5j+ORi6/+ojAzudKeV/okrcEeTYrV4niPzZSlgeUU3MqAbzuERj2KFAJE= X-Received: by 2002:a5b:884:0:b0:dbd:b4c2:728d with SMTP id e4-20020a5b0884000000b00dbdb4c2728dmr1116662ybq.112.1704403784286; Thu, 04 Jan 2024 13:29:44 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104050605.1773158-1-zack.rusin@broadcom.com> <202401042305.WdnDeo57-lkp@intel.com> In-Reply-To: <202401042305.WdnDeo57-lkp@intel.com> From: Zack Rusin Date: Thu, 4 Jan 2024 16:29:33 -0500 Message-ID: Subject: Re: [PATCH v2] input/vmmouse: Fix device name copies To: kernel test robot Cc: linux-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev, Dmitry Torokhov , Arnd Bergmann , Robert Jarzmik , Raul Rangel , linux-input@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 4, 2024 at 11:04=E2=80=AFAM kernel test robot w= rote: > > Hi Zack, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on dtor-input/next] > [also build test ERROR 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-v= mmouse-Fix-device-name-copies/20240104-130724 > base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git ne= xt > patch link: https://lore.kernel.org/r/20240104050605.1773158-1-zack.ru= sin%40broadcom.com > patch subject: [PATCH v2] input/vmmouse: Fix device name copies > config: i386-buildonly-randconfig-001-20240104 (https://download.01.org/0= day-ci/archive/20240104/202401042305.WdnDeo57-lkp@intel.com/config) > compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archi= ve/20240104/202401042305.WdnDeo57-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202401042305.WdnDeo57-lkp= @intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/input/mouse/vmmouse.c:77:7: error: variably modified 'phys' at= file scope > char phys[sizeof_field(struct serio, phys) + > ^~~~ This can be trivially fixed by using __builtin_strlen which with fortify-strings.h is used anyway but before respining this I'll wait to hear if this approach is ok. The sparse warning we can't do much about because it doesn't recognize the fact that the array size is a compile time expression. z