Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1500012rdb; Sat, 10 Feb 2024 04:59:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUP4qHL91bmBzQc0RBYrBROOdk/S8+IhvU/dI/zW+jT06iRMcb4Kb4ihy3574PyxYiPoXiH5yzicEvtNjYljEP4lndM7wJks7pjWneFIw== X-Google-Smtp-Source: AGHT+IFLdn/nfdPmJMYb+IFYEul26cCV7FZg3pTcinXfHLlA6tmFne/ChyE4eAdYrdFEERFJUK0C X-Received: by 2002:a05:6402:345c:b0:560:c8cb:c2c8 with SMTP id l28-20020a056402345c00b00560c8cbc2c8mr1062675edc.11.1707569972307; Sat, 10 Feb 2024 04:59:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707569972; cv=pass; d=google.com; s=arc-20160816; b=mdjVuNBOTjif3mKZCMu74KCijIRC2HsKYV7LOpM9iGTj6yGvbfBB9trtznKdGHhdqJ LJT1L6Iwlx769iajrZBzWkedSgAUsRE+iGDzdDFZvOimy6kliwptFp5MOYu3L2ZROeQD 4ptuT+Gn2kwpj1gn9s1fhHHeUnAxAiVGlIrIqVnvHMNDai1sjXgKYyQ77L8UxONJzUJX yzdE9drWVSmJRnMNJIXzQOTNfwEiAPCb8NkrlnKPf7hnlvQvedKajTIwy1L8K75PS8iT 9ks7AF/rGyR2vn823TEsa2DRST4vsvDvXhoU2N7Dew6PWs/Dl1Nu+684fUWKzQHXTgv3 +Qrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YZkSHgaU7EPBPMzLPL45dFzNFUxvV3jSJ5Qgy/LUea4=; fh=QRStLoEXHHlbqZOLs8CKerIDRDqQxzRvo3HK4JqT3OQ=; b=VjMFYmKdiRLJk2Vb5AntTGGJWRGqI3vpI49bI0GadGet2C2xjgDpC2bp8h6V6cplTo cZ/vqn2nnUisYuAFHS9hFQEbNASQPl1gK/i1lQmDbz//NAY+syDenFLZ/K6ne7qRPUPl fMRMXwB6hhu6wVX54BB0105zrQsnP4OkPbgXCpV0DfU3oFlKWc5MpdRwYvqZGmDFgBWh ox8sVQbklgNNCE6RwkdKvQEktUB3dYyraA2dZr+qryUbDX58eWcJvcmEUxKrFIwiBny8 PSojqEHmD+C5SbhET8E7di2Nk6HDi2Xo+xiABBBTQek6yMgANiOYTlUImtwGwkqGnOpr AvUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FGz0+lSY; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-60407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXR9AHKz4QmN6rf3jGH5iXCJnWUaKOW//X3tGRJbVHW2XX0Di/ULObW6Wjq002RQlHi6jQRq6vPMszfH/ScGSXGBgfi6xV0J9Okub0szQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j22-20020aa7ca56000000b0055fc9632439si780537edt.507.2024.02.10.04.59.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 04:59:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60407-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=@intel.com header.s=Intel header.b=FGz0+lSY; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-60407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60407-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E187B1F22619 for ; Sat, 10 Feb 2024 12:59:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85BB8481D0; Sat, 10 Feb 2024 12:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FGz0+lSY" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (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 6A82D47F63 for ; Sat, 10 Feb 2024 12:59:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707569963; cv=none; b=CRxFJ2FKNjPffmeei2Ckkf4YStLRhax2o9k1XM8FwUtdqkwN/OK80p8nuGOg/MhmoijgQo1RnYr7c1FmyLuinFAgNyCNRJHWKI4ahkGwq+32YxrIxL1+xptowXv4SC9z1BpaHPOAT0yQy0mYmMniKCKkSzBeNuBE/UA7UXF4EHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707569963; c=relaxed/simple; bh=Cb1Eh3O2qFMqBZxKzCU4auBY0R5n95zZ3gjKmSOb9JE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pDGuBhEOS0Rynopc/OFVFNXrQ09qT/HCNZbGElKfT3elowTdfDvyuzjToAmSTiC2OMzeV4DlrXG522QsdIAseQ966hI6cyFPQ0kL5iyBlg+XycaxGSbH/KiYCy2k45nKcK+jPKE+zkqo0aLZa6LNkvMjMe6fZaTsR6fh/2dc1G4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=FGz0+lSY; arc=none smtp.client-ip=192.198.163.17 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707569961; x=1739105961; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Cb1Eh3O2qFMqBZxKzCU4auBY0R5n95zZ3gjKmSOb9JE=; b=FGz0+lSYHesRWo/GmlvBc/NA1qDyxm5801lnDFn6UxMipIpm7l/AQtUF 5bm2kpXqH9l5uTV7ZNUtn8oezpWVAv/AiXbTspueXRTS2Too4Qf/x/zLC qlh5GgZrcx8y1dSjiCafX1rTEhIvL23ZivY71WoJ8pL+1KCph5Ta9i+0U Z9MuFn9jr9OgQx0ZIqJN0Us1pAT0jSHzxLQadi8yPBE+Z9948VHXpHYDE qf//YBSJ8JztoR0fEADz5hnsrSUzkdGlCzOozXtjtykC2ht74MDUF1p6j PNexVq2kuypl1NKTRgNc9z9+VfgMAWXL9agPu2mdFKGwzzKy8iJZ9YKKK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10979"; a="1449114" X-IronPort-AV: E=Sophos;i="6.05,259,1701158400"; d="scan'208";a="1449114" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2024 04:59:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,259,1701158400"; d="scan'208";a="2380396" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 10 Feb 2024 04:59:19 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rYmwv-0005fm-1n; Sat, 10 Feb 2024 12:59:17 +0000 Date: Sat, 10 Feb 2024 20:58:40 +0800 From: kernel test robot To: Max Kellermann , linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Max Kellermann Subject: Re: [PATCH v2 02/35] include: remove unnecessary #include directives Message-ID: <202402102047.IswSP6zZ-lkp@intel.com> References: <20240209164027.2582906-3-max.kellermann@ionos.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 Content-Disposition: inline In-Reply-To: <20240209164027.2582906-3-max.kellermann@ionos.com> Hi Max, kernel test robot noticed the following build errors: [auto build test ERROR on next-20240209] [cannot apply to drm-misc/drm-misc-next media-tree/master mkp-scsi/for-next linus/master v6.8-rc3 v6.8-rc2 v6.8-rc1 v6.8-rc3] [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/Max-Kellermann/include-add-missing-includes/20240210-005417 base: next-20240209 patch link: https://lore.kernel.org/r/20240209164027.2582906-3-max.kellermann%40ionos.com patch subject: [PATCH v2 02/35] include: remove unnecessary #include directives config: i386-buildonly-randconfig-006-20240210 (https://download.01.org/0day-ci/archive/20240210/202402102047.IswSP6zZ-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402102047.IswSP6zZ-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/202402102047.IswSP6zZ-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/sun4i/sun4i_layer.c:28:3: error: call to undeclared function 'kfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | kfree(state); | ^ drivers/gpu/drm/sun4i/sun4i_layer.c:28:3: note: did you mean 'vfree'? include/linux/vmalloc.h:160:13: note: 'vfree' declared here 160 | extern void vfree(const void *addr); | ^ >> drivers/gpu/drm/sun4i/sun4i_layer.c:32:10: error: call to undeclared function 'kzalloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | state = kzalloc(sizeof(*state), GFP_KERNEL); | ^ drivers/gpu/drm/sun4i/sun4i_layer.c:32:10: note: did you mean 'vzalloc'? include/linux/vmalloc.h:140:14: note: 'vzalloc' declared here 140 | extern void *vzalloc(unsigned long size) __alloc_size(1); | ^ >> drivers/gpu/drm/sun4i/sun4i_layer.c:32:8: error: incompatible integer to pointer conversion assigning to 'struct sun4i_layer_state *' from 'int' [-Wint-conversion] 32 | state = kzalloc(sizeof(*state), GFP_KERNEL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/sun4i/sun4i_layer.c:43:9: error: call to undeclared function 'kzalloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | copy = kzalloc(sizeof(*copy), GFP_KERNEL); | ^ drivers/gpu/drm/sun4i/sun4i_layer.c:43:7: error: incompatible integer to pointer conversion assigning to 'struct sun4i_layer_state *' from 'int' [-Wint-conversion] 43 | copy = kzalloc(sizeof(*copy), GFP_KERNEL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/sun4i/sun4i_layer.c:60:2: error: call to undeclared function 'kfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | kfree(s_state); | ^ 6 errors generated. vim +/kfree +28 drivers/gpu/drm/sun4i/sun4i_layer.c 9026e0d122ac87 Maxime Ripard 2015-10-29 18 d540f82adf3577 Maxime Ripard 2018-01-22 19 static void sun4i_backend_layer_reset(struct drm_plane *plane) d540f82adf3577 Maxime Ripard 2018-01-22 20 { d540f82adf3577 Maxime Ripard 2018-01-22 21 struct sun4i_layer_state *state; d540f82adf3577 Maxime Ripard 2018-01-22 22 d540f82adf3577 Maxime Ripard 2018-01-22 23 if (plane->state) { d540f82adf3577 Maxime Ripard 2018-01-22 24 state = state_to_sun4i_layer_state(plane->state); d540f82adf3577 Maxime Ripard 2018-01-22 25 d540f82adf3577 Maxime Ripard 2018-01-22 26 __drm_atomic_helper_plane_destroy_state(&state->state); d540f82adf3577 Maxime Ripard 2018-01-22 27 d540f82adf3577 Maxime Ripard 2018-01-22 @28 kfree(state); d540f82adf3577 Maxime Ripard 2018-01-22 29 plane->state = NULL; d540f82adf3577 Maxime Ripard 2018-01-22 30 } d540f82adf3577 Maxime Ripard 2018-01-22 31 d540f82adf3577 Maxime Ripard 2018-01-22 @32 state = kzalloc(sizeof(*state), GFP_KERNEL); e4fff65fdb526a Maxime Ripard 2022-02-21 33 if (state) 60252323ec9c36 Alexandru Gheorghe 2018-08-04 34 __drm_atomic_helper_plane_reset(plane, &state->state); d540f82adf3577 Maxime Ripard 2018-01-22 35 } d540f82adf3577 Maxime Ripard 2018-01-22 36 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki