Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp907911lqj; Mon, 3 Jun 2024 04:54:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkngq5pGkoXWRM2ESsLFbUw6RYspRr8lYl6+dAU7WwsdaykMmFxODbqa+VVNNyW/EBsXDvLjuREShiHy//Ox08vFdd9Zi9M62w3N1cmA== X-Google-Smtp-Source: AGHT+IGgDEWK2eSZRcctr3ZjzUI2zncHHUbX4eUyk0VKH5SeO8EIYHF2H51sdVE8tS4IZOyEuF72 X-Received: by 2002:a05:6a21:3296:b0:1b1:f732:779b with SMTP id adf61e73a8af0-1b26f0ec8b2mr13617093637.3.1717415659007; Mon, 03 Jun 2024 04:54:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717415658; cv=pass; d=google.com; s=arc-20160816; b=XP2mYsJ2y+Nq9x9h7uq43qsiYDF7GHhswL5u1L118vTYcZpMZx8NuyAP5aHYQxigDF u3AlYdrfhJcaAcIMzySE81GRIhXsS0prHKazBeCJGc/kt9NEA5ZIkLrP2TEiAucr+ggT TPY1MTtvl8efnhlqE7H0INRJiD7oVYhj9Hq4+XlEjJ89r+TTuHE+KgCGmBeUxcYK1Eqi z7i96D9eRTakqIqoxwL1AZEWpTY9Iwf3ZSv/O7gIu+PiTV4zS9tKD9CC779bZ7W2ieBj HZojFuRzVZ7Mdhq5ewHcTj/jdrFUQh3/yBh9KJWW/oltCEG9W9U0YII0uuFtQ1PMTV3M iv+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:date:from :dkim-signature; bh=z/TklU1XD8gyAvd/8E6YBilxRjOgBIrQ8VjVnbnj1ng=; fh=ZxMeUBGau0Vqx4eks565jwbwalNlMeJ3mBMNinbahWc=; b=Y/ady13XxQfNgrlMCO7urqFq5HJlwX25JbmvTkK0GOMAh10G39vbdzAz2tpt9mpzDi UhButfA1HtD6m3uhH0WQuhsLyb9EEP7GC9tVOO+a04IPN1aMWkas5dQd3/zmf2RPRIws yEbrQ0Ulc0LxEtBziR81UtlGzYl+1wdFDRRVr48GCmM5zyBxQX9vAHnUy7DfAClM5x0r c+A4MEjmSs4bg2zJ8qB8Nqvn5R0c3Ff3L/VIywQlRuXnzcCbF0djWaW97t2cuq2NrzEN Q0Rr7naKSW4rgtMOjpzFmK0iKRXBCY0CDLVdkojrSVk0zg47c//L3kWxauZZxrsU1BYR ZkkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lw0TtGBh; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c73bc13si6472297a12.700.2024.06.03.04.54.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 04:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lw0TtGBh; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199070-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 94090285286 for ; Mon, 3 Jun 2024 11:54:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55DCA8626E; Mon, 3 Jun 2024 11:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lw0TtGBh" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 73A968595B; Mon, 3 Jun 2024 11:54:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717415652; cv=none; b=Kl7Qyn5AX8YfeH8xBhhouVr0RZ/dCBhcVALKv3sovcUt94TFSOkkQtO4oTV7LHM4qCPAilkv4aJpxWHmYzA/l9ulUYGOC41t1UKKU7XL0ujNsnkXQ3FjUDwNS6uS1//HFabqSBw7p4WCCHmFpOlwFiDjIrhKPfrb8lv4DHf/TxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717415652; c=relaxed/simple; bh=GPMUJJ53l+0ecXS1pAoUJQYrHF+UZHS+9Mt++PXszzU=; h=From:Date:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=s04M1AUnkBiAJyDhMwQ8TAYVxc2f1bRm7Ss//LTss3YA365RoeqQiLtmLtu5FUIC+g32rC9yVkjcml2GnDO4WkxPPzg3ASBg8Zn9s8QkNLJbr1c0Ic2rsvrswwSutrUVVdI4aRkfHNS9+JdWcp0Rmbd6ysT0/2xT7xx834RDiE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=lw0TtGBh; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717415651; x=1748951651; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=GPMUJJ53l+0ecXS1pAoUJQYrHF+UZHS+9Mt++PXszzU=; b=lw0TtGBh+DQXKWh1iIb8hLe1oY/jwgiSCBSdtzV7OnmkHauzTkfDHQvW WuVNnZkLb2LudwyRzIooHNcODTnpZS7YHnZQwkmDhmIZcrRVY4iocy8a/ LaEHpqAU0loYeOiJkSXrF5VbkHte99yfms+aThhDCnf0AnQGDRLdfm8n3 4JdfDa1Gd5Z1kxUuJFF6iv+iKM1fO9KXYj9KvHag3yEHutIWiQLziiI5d NpfRXt6SjpcATUJrCPZyKJ0nu1TX888C0lMliYlwJ/JhwCO6capW4CBeD 1LxupYrzeUlD+cyNE4rwA1DQ4MhiT9gzM5AfqRF7t0Pp938kes2MC5rmm Q==; X-CSE-ConnectionGUID: Rr2AK2xvQiCcl4NkXv3hxQ== X-CSE-MsgGUID: fzzvlTjCRMySF9qe+lMITg== X-IronPort-AV: E=McAfee;i="6600,9927,11091"; a="13650913" X-IronPort-AV: E=Sophos;i="6.08,211,1712646000"; d="scan'208";a="13650913" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2024 04:54:10 -0700 X-CSE-ConnectionGUID: eHH8JyTaRQ2o1D3/0McGlQ== X-CSE-MsgGUID: UO/ceDCRQKu7ajfICb02Yw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,211,1712646000"; d="scan'208";a="36753925" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.161]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2024 04:54:06 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Mon, 3 Jun 2024 14:54:01 +0300 (EEST) To: Andy Shevchenko cc: Hans de Goede , Jorge Lopez , Li Zetao , Simon Trimmer , Mark Pearson , platform-driver-x86@vger.kernel.org, LKML , ibm-acpi-devel@lists.sourceforge.net, linux-input@vger.kernel.org, Corentin Chary , "Luke D. Jones" , Mark Pearson , Henrique de Moraes Holschuh Subject: Re: [PATCH v1 0/7] platform/x86: Move to 2-argument strscpy() In-Reply-To: <20240602090244.1666360-1-andy.shevchenko@gmail.com> Message-ID: <35a722b6-995b-25d9-189c-5283a52a379f@linux.intel.com> References: <20240602090244.1666360-1-andy.shevchenko@gmail.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 On Sun, 2 Jun 2024, Andy Shevchenko wrote: > Move to 2-argument strscpy() to make code shorter and have an additional check. > No functional change intended. > > Some cases are let untouched where it looks better with the 3rd argument. > > Andy Shevchenko (7): > platform/x86: asus-tf103c-dock: Use 2-argument strscpy() > platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() > platform/x86: intel: chtwc_int33fe: Use 2-argument strscpy() > platform/x86: serial-multi-instantiate: Use 2-argument strscpy() > platform/x86: think-lmi: Use 2-argument strscpy() > platform/x86: thinkpad_acpi: Use 2-argument strscpy() > platform/x86: touchscreen_dmi: Use 2-argument strscpy() Patches 1-6 applied to review-ilpo branch. -- i.