Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796405026; b=bx/zfs9AMTTLCyXg8XXLa4cHDILVoNqhMZ1uRP54uEwVhz48+PCtwgsm7n3xZe3SlBJ8 bcvDIg0DfzAiSKiqMhr5SQQEZ3pkLbQix8Ywl4GvWPvlv/B0e1NdwGvlMdYkpqU/hBIde cjrx1gNxDXr0tljMUqM1FRzKJJ97WqoV7dPHnrbyaWyT9EH6xnqnKZYo69tc9OqiiRMJ9 I779VoHTi6NfTxz3hUcwiv7OYlQma9OtJRlVN0tRQlORoIKt44WB79AvFdStAz1DAxjYr yC39c/2bJW2n2flCQ0DXqZkZGPSb8+E6hYffC2puZhpZezIRBmL7mu75M1jar7/A5IQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796405026; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=5oeoNuBwOHen8vSNfMy+m3qNemh6HbRjab1BQDaW5ms=; b=b6v7j7OodCXroDjHp9MFvTUXMAwCnUAPH7ym6CGUaDsbLtmlU+sgZiokbrkjhlEsVrut ITvyVDFVUiExxJnJpvYmsTMsQI6MQ30XQ41U1T1M9/ONJXfUWHf9GzVRwC0GTZZR00VgL RF2Y2I6e0b/9QStn9bwva/Mr55fwueljAoCzEiG0xtBgmXVB8RsHR3BgfjTuWc85QhEhB thYINQJZpzVEVnFpMpJUwtuDXJOvazdgEpLBdgt8yMtN2J2z/gvghL1FZAzUHXxBJT2SC Ki4OgwEy0RlaXo6HcgkamZEId/z6xV97IwKOHs5gIVscBRzKSFRNmICoiKgSA570P7Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=DBDfdRbl; arc=none smtp.remote-ip=198.175.65.15 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF638606A32C; Fri, 4 Dec 2026 17:23:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DF638606A32C 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.a=rsa-sha256 header.s=Intel header.b=DBDfdRbl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796405027; x=1827941027; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5oeoNuBwOHen8vSNfMy+m3qNemh6HbRjab1BQDaW5ms=; b=DBDfdRbl8yVuc96Z/YeLNXYKRdo5tvVdStvhbi/3P/sv+2a9qCbJIJST B5eWVz55f5zJQu5EXw8V8p3iW2gIgJJea5LsCih2xCerRiL6LvFPKaYkt uL6QZ+tw3tfWcisASAGaU4e4eBhHeI9Wz7+PPaEloqwtTKTh2gE7e90lq dYz0P+0AtWRid7RazEsyOJyBxk2AIsSEwAyTd9sFJ2ke6FB9vvGgqWbsY ZWHyYIOuryv2DpaBbOW1esQEu3392YFD2XQmWcRPU7bbEYo6XTE+imwaf W5E9RYFXhlo2uSk1GD3/fkxDT3W8of6E4LRYPKFCGtNJctzSLMU8pQpCR Q==; X-CSE-ConnectionGUID: Jvcn3o0VSFaeW/2Azhe5gQ== X-CSE-MsgGUID: YVOUIpRCQI2Isg5Zr054vg== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5393211" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5393211" Received: from fmviesa012.fm.intel.com ([10.60.135.152]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:23:46 -0800 X-CSE-ConnectionGUID: uBkI9jfxSMSCkLB8CTLJCQ== X-CSE-MsgGUID: LIShH9hYT7a6V/xUh5/Z3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="15772208" Received: from alekseim-mobl.ger.corp.intel.com (HELO localhost) ([10.245.245.10]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:23:34 -0800 Date: Fri, 4 Dec 2026 19:23:31 +0200 From: Andy Shevchenko To: Aditya Garg Cc: Atharva Tiwari , Ihor Odainyi , Antoine Sidem , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , "Rafael J. Wysocki" , Len Brown , Linus Walleij , Bartosz Golaszewski , Sven Peter , Janne Grunau , Neal Gompa , Guenter Roeck , Jonathan Cameron , David Lechner , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , Lee Jones , Pavel Machek , Griffin Kroah-Hartman , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Sebastian Reichel , Alexandre Belloni , Wim Van Sebroeck , Jarkko Sakkinen , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , Paul Moore , James Morris , "Serge E. Hallyn" , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-leds@vger.kernel.org, mfd@lists.linux.dev, platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH 02/14] platform/x86: add backend for macsmc in intel macs Message-ID: References: <20261204131619.5059-1-atharvatiwarilinuxdev@gmail.com> <20261204131619.5059-3-atharvatiwarilinuxdev@gmail.com> <70a1e05f-af45-46d0-ad03-8592e0ca0342@linux.dev> X-Mailing-List: asahi@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70a1e05f-af45-46d0-ad03-8592e0ca0342@linux.dev> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Fri, Dec 04, 2026 at 08:22:52PM +0530, Aditya Garg wrote: > On 04-Dec-26 07:49 PM, Andy Shevchenko wrote: > > On Fri, Dec 04, 2026 at 08:12:42AM -0500, Atharva Tiwari wrote: ... > >> +static const struct acpi_device_id apple_smc_acpi_ids[] = { > >> + {"APP0001", 0}, > >> + {} > >> +}; > > > > Where have you been last half a year? > > He is a new kernel dev. Not your fault for assuming he is a seasoned one. Oh, sorry for that. Do you have any internal mailing list to discuss patches before sending, or is it just this mailing list for the fully open discussion? > Can the maintainers be friendly and point out code errors rather than the > RTFM thing for LKML as well? Or atleast point out some examples rather than > just ranting. Sure. The C99 initialisers is a requirement nowadays for the ID tables. As well as common style. I highly recommend to check with Git history for each of the subsystem and check the last contributions. AI actually may be helpful with collecting and summarising such an info. The above should be static const struct acpi_device_id apple_smc_acpi_ids[] = { { .id = "APP0001" }, { } }; P.S. Sorry for my tone, I'm so grumpy on the later AI slop here and there, especially when people do not read anything. -- With Best Regards, Andy Shevchenko