Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1263027

Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data

From Boris Brezillon <boris.brezillon@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data
Date 2015-11-05 10:00 +0100
Message-ID <qroyL-4iE-31@gated-at.bofh.it> (permalink)
References <qpvbj-69C-5@gated-at.bofh.it> <qpvbj-69C-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 30 Oct 2015 20:33:28 -0700
Brian Norris <computersforpeace@gmail.com> wrote:

> --- a/drivers/mtd/maps/lantiq-flash.c
> +++ b/drivers/mtd/maps/lantiq-flash.c
> @@ -110,7 +110,6 @@ ltq_copy_to(struct map_info *map, unsigned long to,
>  static int
>  ltq_mtd_probe(struct platform_device *pdev)
>  {
> -	struct mtd_part_parser_data ppdata;
>  	struct ltq_mtd *ltq_mtd;
>  	struct cfi_private *cfi;
>  	int err;
> @@ -161,13 +160,13 @@ ltq_mtd_probe(struct platform_device *pdev)
>  	}
>  
>  	ltq_mtd->mtd->dev.parent = &pdev->dev;
> +	mtd_set_of_node(&ltq_mtd->mtd, pdev->dev.of_node);

Should be:

	mtd_set_of_node(ltq_mtd->mtd, pdev->dev.of_node);

(This error was reported by your aiaiai build test)

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-11-05 10:00 +0100
  Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data Brian Norris <computersforpeace@gmail.com> - 2015-11-12 00:50 +0100

csiph-web