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


Groups > linux.kernel > #1628569

Re: [PATCH v2 03/16] fpga: mgr: API change to replace fpga load functions with single function

From Alan Tull <atull@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 03/16] fpga: mgr: API change to replace fpga load functions with single function
Date 2017-04-21 22:10 +0200
Message-ID <tyN2p-1J2-13@gated-at.bofh.it> (permalink)
References <tyl69-1yM-9@gated-at.bofh.it> <tyl6b-1yM-65@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 20, 2017 at 9:09 AM, Alan Tull <atull@kernel.org> wrote:

> @@ -382,7 +377,13 @@ static int fpga_region_notify_pre_apply(struct fpga_region *region,
>         if (of_property_read_bool(nd->overlay, "encrypted-fpga-config"))
>                 info->flags |= FPGA_MGR_ENCRYPTED_BITSTREAM;
>
> -       of_property_read_string(nd->overlay, "firmware-name", &firmware_name);
> +       if (!of_property_read_string(nd->overlay, "firmware-name",
> +                                    &firmware_name)) {
> +               info->firmware_name = devm_kstrdup(dev, firmware_name,
> +                                                  GFP_KERNEL);

For those who weren't copied, the kbuild robot has kindly pointed out
that dev is
undeclared in this function.  It's fixed two patches later, but I'll
need to fix it for
bisectibility in v3.  I actually did bisectibility testing but got
tired and lazy near the
end.  I built & functionality tested individually starting at HEAD,
working back to
about HEAD~11, and then started :/ skipping patches.  Ugh.

Alan

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


Thread

[PATCH v2 03/16] fpga: mgr: API change to replace fpga load functions with single function Alan Tull <atull@kernel.org> - 2017-04-20 16:20 +0200
  Re: [PATCH v2 03/16] fpga: mgr: API change to replace fpga load  functions with single function Alan Tull <atull@kernel.org> - 2017-04-21 22:10 +0200

csiph-web