From patchwork Mon Jul 1 07:56:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Vaittinen X-Patchwork-Id: 808996 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 CD63137142; Mon, 1 Jul 2024 07:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719820626; cv=none; b=iQqyAwaCXeCl3WNHrt6L1tksXU8syZHhEjjlqoGuw0JK8ocUOstj5mrncz+aQ+lAs2Djd1nJeBfU9kZEN+YyeaWOofUX2a79ZldUNb2EwCJCAfFXMyOvxtjjLQxQ/lU7G+NdBFPSw/BNpskvXL7MHHduYmNKELN31MFSJDTCal8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719820626; c=relaxed/simple; bh=SgRYTTInf8ZvtLqlwSdFXZS4xKvDrT2mPrGB2EWF33M=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=KTAsJNrl0GVTH/MbzwiDHG1p7J7BIkKdJouH5HYqRB9RwTMoONDOxI3NzGlhMeOnYKT7vpRe+JFHOt+V8dp6KGNykNuJbCDrhXvsUncxsbAicIJUBAtf/fyEqrx9fGtbjY8XNURU8dRaGKqw7n3Ffca6cvNgHqQUsoVh3yWwuyc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gdn8ECoS; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gdn8ECoS" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52cdc4d221eso2890453e87.3; Mon, 01 Jul 2024 00:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719820623; x=1720425423; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+05MK1kXai4oMRlN0UFzQqyVHePDjZHTYYHi6/JPEWk=; b=gdn8ECoSEi42rbmkeMdT6qbIZ/2GH6Y4qnb6NePySE9t8GHh9FpLXE32ewQDAvrCjI B1+l8TvEhfnrbsdgTqEHm0o361hAimpZf4GimlNJhiTAm/rHYdKg6NsLacJFRuhmNAX9 ByjUb79yv7UVwT2RDGb9rF/l1UcJGVu1XIn3hQQMRZP1iELUGOTx/YVMa7yLCxsi+GNP jIpRlT47+FROq8uDjCyMIL1//3BOs4oFaGheDfvtTNjeb4LzjFbtcR1YLtonSSddXpMF oP+5jPhrg2ZH+zzyomrGeY/TMYyAqWp9RxETBWNEpdYihP3rWVO7guBhxZgfcMGTjlEJ H4Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719820623; x=1720425423; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+05MK1kXai4oMRlN0UFzQqyVHePDjZHTYYHi6/JPEWk=; b=tl6ULhuekGGM+7ju2P4VZZlqbdDO6FkAUBPDJyo7jJhOMpdkxw8qGcs+bJwgVx1I8g /XPYGAiMo2Hvwwf31RorGJNjlUFQIWmOERiAi4EXQIAA6kDcLPZHPVy7BpXweu5TZwIc 98qZIP8dR6m+Ugxxmxr/7m/QrKgYOjstgvuvgctqbZrtveW17ptYi0zSHo7IDsz/HkRB POPucA0fnGMolY+HUCMBT3JC/IPe4aTAACKUZfxMhkvRxUuYiFhM+60XvKLZWvnDQ9bu Nqnd2+yQizz5d3RrPh+7I14pL4LUGzR+vst1fCYos1T65C/tGlP5YJbIW8QrhS3S/6h2 dZpw== X-Forwarded-Encrypted: i=1; AJvYcCUVtqzybTrudCSDs9L9oHZTihEfskWHLq/LUw/gkIemJBjMyQoz/uSaQSpR/LltjsP/fgGoUBELfSoVZM71mQV5NXs1rlkkTyNMlN9GawFAb4cV+8tPwQacKQq2VSBdBX5Rvd4LolmSeoArBzXGQ4pJGvop5uqDFTN8FnTVv6IVE0UtxRZDj904 X-Gm-Message-State: AOJu0YxbJkdxGXRkPd65booDZIEqJCGLSdRwmE5m2kbHvpB5vCd0u5hv p/tpVlwa76SQMqB323yZeoHbO4un89d2TrXhbIx990+A+w74JSqy X-Google-Smtp-Source: AGHT+IGCVIArH6otjWMlTKGGmfEh/kav/BXrAKZti4HR6dcditB1AIJw9P/0E6YGqWLyw+7l8hOhWQ== X-Received: by 2002:a05:6512:480c:b0:52d:b182:9664 with SMTP id 2adb3069b0e04-52e827398c7mr2293393e87.69.1719820620280; Mon, 01 Jul 2024 00:57:00 -0700 (PDT) Received: from fedora ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52e7ab0ba53sm1236119e87.50.2024.07.01.00.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 00:56:59 -0700 (PDT) Date: Mon, 1 Jul 2024 10:56:49 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH] watchdog: Add missing include for FIELD_*() Message-ID: Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline The FIELD_PREP() and FIELD_GET() macros are defined in the linux/bitfield.h. Include this header to avoid missing the macro definitions. Signed-off-by: Matti Vaittinen Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406300817.hcJ9VtLf-lkp@intel.com/ Acked-by: Guenter Roeck --- This patch is built on the ib-mfd-regulator-watchdog-v6.11 tag. These macros got included via some indirect route in my build config on v6.10-rc1 - but the lkp reported problem on some config. Please, let me know if this follow-up fix is Ok or if I should rather respin the: https://lore.kernel.org/all/20240627082555.GH2532839@google.com/ with this fix. (I don't see much of potential bisecting problems if this fix still gets in the next release, as the watchdog code is behind a new Kconfig flag - but please let me know if I should re-spin whole series). --- drivers/watchdog/bd96801_wdt.c | 1 + 1 file changed, 1 insertion(+) base-commit: fcf1f960a6aa45a22efd4d49114c672ed305b85f diff --git a/drivers/watchdog/bd96801_wdt.c b/drivers/watchdog/bd96801_wdt.c index ff51f42ced2a..12b74fd2bc05 100644 --- a/drivers/watchdog/bd96801_wdt.c +++ b/drivers/watchdog/bd96801_wdt.c @@ -5,6 +5,7 @@ * ROHM BD96801 watchdog driver */ +#include #include #include #include