From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 4A08A1BD015; Tue, 6 Aug 2024 11:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722943981; cv=none; b=TuYX4kl16ykFaL9Zj3EL69G/S8TYEaN30eI2XZj5XyzY0wseFoGmsZArdLCfiEXfDAT3j5qKaAY+2VGtemceE1ieJCtDxRXg5M4eGHQlb9q8URf2IAzuf1OfOiz2Nc8cIF4Pc4clrSQPj5aRM/d8EnWMl83br5/QO6c1Xf15NU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722943981; c=relaxed/simple; bh=EcRtA1U8qgaYeFf87D2o2VR8P52XBfeQwJ39AxaXKkg=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H1dYqF8pj+zpH9bfMAfqG2TSgXqWvDKPrmVUXyUt+KPaCmSWAjqcAkvRe1ERQt9exl/Kbp52P1Xoq1HQQcUnUz0BQsZGrqq1k4qoqJrOAGsUsloPglsmvYc1JRxPXZ3r3L7cWovJuhqhSpEGeqJ9gPAv3T7ltT8sn9pg4aNsGzI= 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=VB3hFrMz; arc=none smtp.client-ip=209.85.208.180 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="VB3hFrMz" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2f15e48f35bso4581661fa.0; Tue, 06 Aug 2024 04:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722943977; x=1723548777; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=IVejJhSSwefbToNWC/vMSJDYdMIZMCdNUKTcNbMdxLc=; b=VB3hFrMzaW98MrjQ7dXZ70ZCY2kR41794oi52jTWEmlaZG2J6aW/1jjmhm3HG4BpAJ 6IFZeV05hrkvf+5Hl4DGKBLxvhbK5L9LBLxVbdk7pl31wp+g1i2xWr3EIPR3trGheaIJ tFx8u/DkFWjnKsb/JmnOifWyXdDSCZ9QwcZlN6CuZmwGU9w3bhWil++TwuoeSZa7Xs9q L6ZB6Ay5gx69sumVRcd782G7+PVZGrrMWGliTwPMB89ns8VvO/T2mEHrsiAdP5Il+mG3 FcQAemQFlWaOi/aSAIf4nAJOlHthVsFzhxes8eE42oRGlxAVpHKqtvoIFnZyreZFm2vY da+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722943977; x=1723548777; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IVejJhSSwefbToNWC/vMSJDYdMIZMCdNUKTcNbMdxLc=; b=fFbT7IXpidyN3pDT/TONIqbcXymMmugDMnxtv9h2Mmk0LJg99UPWtfKlzeVdc2e0a3 XIz11VV/yoWfbCI+rxTh+stc34EqG0nNfStwxxzUNN4gR3i7hfByaCTaQ7PKRm+e6yhb M6ZrNloieJF5yQHROKouMIO3JND/NJ1pHqn5xaMcXY/h9S0I6kdtYdKNPtppSLQQFzR+ 8KR8oS+j77zUnWIiOmKnT0+m//hsfq3uR5SaDbE0rEvMyh7nDZ6fVA+lnlbJkWI0ehs3 NBNXlZcD2bhAhchT7rsLKMyVTbpZtjKAjjmbT7Py8rBAOkpz2Y6cpe1wzSoFmYP/57EP acbw== X-Forwarded-Encrypted: i=1; AJvYcCVbSsdnBqyTCVOIDsmoqxQCqHWNtDY92oUGaNMRHWLXG7vVpwRhNAT6wv//a0CYbjJt8XJ2ft8R2x3S+ICbtRo8/ks2jM9tMQvG7JYGbpC5Ia8ZtaVZkQxUeR/hKr2C5Fddw9MKfaJIobR+Zjz7yUoEQ/rwVDfvZFY6w62V35Il83Giaw== X-Gm-Message-State: AOJu0Yy9ur6XXhdkfksCMl1Ji9rcs1GwSlfg4iO0PZWx90SFZmbaa3Ix SeCwcbu9Q0Qpp+wxAMwMzQ4FwkmFWwaQcnW6sDWyZ07eOZPrG3O5 X-Google-Smtp-Source: AGHT+IEIML1fcbxEmifD6CYWnibQGgfrmZhaChuLVp5niogHyeL8TR72e1QzDfH14JBGB+amQfws3Q== X-Received: by 2002:a2e:8046:0:b0:2ee:7c12:7b36 with SMTP id 38308e7fff4ca-2f15aaacc1dmr104556941fa.19.1722943976887; Tue, 06 Aug 2024 04:32:56 -0700 (PDT) Received: from Ansuel-XPS. (host-87-6-196-30.retail.telecomitalia.it. [87.6.196.30]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4282babaa2esm240389145e9.25.2024.08.06.04.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:32:56 -0700 (PDT) Message-ID: <66b209e8.050a0220.1f20c8.5a92@mx.google.com> X-Google-Original-Message-ID: Date: Tue, 6 Aug 2024 13:32:51 +0200 From: Christian Marangi To: Philip Li Cc: kernel test robot , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Joern Engel , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Wolfram Sang , Florian Fainelli , Thomas Bogendoerfer , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-nvme@lists.infradead.org, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v2 6/6] mtd: parser: add support for Airoha parser References: <20240804174414.18171-7-ansuelsmth@gmail.com> <202408050612.Ya1m6REu-lkp@intel.com> <66b0b109.050a0220.93681.d015@mx.google.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: On Tue, Aug 06, 2024 at 05:23:43PM +0800, Philip Li wrote: > On Mon, Aug 05, 2024 at 04:54:45AM +0200, Christian Marangi wrote: > > On Mon, Aug 05, 2024 at 06:52:04AM +0800, kernel test robot wrote: > > > Hi Christian, > > > > > > kernel test robot noticed the following build errors: > > > > > > [auto build test ERROR on robh/for-next] > > > [also build test ERROR on linus/master v6.11-rc1 next-20240802] > > > [cannot apply to mtd/mtd/next mtd/mtd/fixes] > > > [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/Christian-Marangi/dt-bindings-nvme-Document-nvme-card-compatible/20240805-014740 > > > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next > > > patch link: https://lore.kernel.org/r/20240804174414.18171-7-ansuelsmth%40gmail.com > > > patch subject: [PATCH v2 6/6] mtd: parser: add support for Airoha parser > > > config: xtensa-allyesconfig (https://download.01.org/0day-ci/archive/20240805/202408050612.Ya1m6REu-lkp@intel.com/config) > > > compiler: xtensa-linux-gcc (GCC) 14.1.0 > > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240805/202408050612.Ya1m6REu-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/202408050612.Ya1m6REu-lkp@intel.com/ > > > > > > All errors (new ones prefixed by >>): > > > > > > drivers/mtd/parsers/ofpart_airoha.c: In function 'airoha_partitions_post_parse': > > > drivers/mtd/parsers/ofpart_airoha.c:33:16: error: implicit declaration of function 'kzalloc' [-Wimplicit-function-declaration] > > > 33 | prop = kzalloc(sizeof(*prop), GFP_KERNEL); > > > | ^~~~~~~ > > > >> drivers/mtd/parsers/ofpart_airoha.c:33:14: error: assignment to 'struct property *' from 'int' makes pointer from integer without a cast [-Wint-conversion] > > > 33 | prop = kzalloc(sizeof(*prop), GFP_KERNEL); > > > | ^ > > > > > > > > > vim +33 drivers/mtd/parsers/ofpart_airoha.c > > > > > > 10 > > > 11 int airoha_partitions_post_parse(struct mtd_info *mtd, > > > 12 struct mtd_partition *parts, > > > 13 int nr_parts) > > > 14 { > > > 15 struct mtd_partition *part; > > > 16 int len, a_cells, s_cells; > > > 17 struct device_node *pp; > > > 18 struct property *prop; > > > 19 const __be32 *reg; > > > 20 __be32 *new_reg; > > > 21 > > > 22 part = &parts[nr_parts - 1]; > > > 23 pp = part->of_node; > > > 24 > > > 25 /* Skip if ART partition have a valid offset instead of a dynamic one */ > > > 26 if (!of_device_is_compatible(pp, "airoha,dynamic-art")) > > > 27 return 0; > > > 28 > > > 29 /* ART partition is set at the end of flash - size */ > > > 30 part->offset = mtd->size - part->size; > > > 31 > > > 32 /* Update the offset with the new calculate value in DT */ > > > > 33 prop = kzalloc(sizeof(*prop), GFP_KERNEL); > > > > > > -- > > > 0-DAY CI Kernel Test Service > > > https://github.com/intel/lkp-tests/wiki > > > > Mhhh somehow I can't repro this with instructions? > > Hi Ansuel, would you mind sharing the steps of reproduce? I can reproduce this with steps > described in the repro link [1] > > [1] https://download.01.org/0day-ci/archive/20240805/202408050612.Ya1m6REu-lkp@intel.com/reproduce > Hi, thanks for confirming that. Manage to repro, just had dirty build-dir and config wasn't correctly applying. -- Ansuel