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


Groups > linux.kernel > #1574310

Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors
Date 2017-02-06 00:50 +0100
Message-ID <t7EJb-5x1-11@gated-at.bofh.it> (permalink)
References <t6U3D-7uQ-13@gated-at.bofh.it> <t6U3E-7uQ-23@gated-at.bofh.it> <t75BM-7td-13@gated-at.bofh.it> <t7d6h-4jT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Feb 04, 2017 at 10:19:21AM -0800, Dmitry Torokhov wrote:
> Instead of returning both regulator_dev structure as return value and
> auxiliary error code in 'ret' argument, let's switch to using ERR_PTR
> encoded values. This makes it more obvious what is going on at call sites.

I did apply this but GNOME has decided to try to force gnome-keyring's
SSH agent on us with renewed force so until I fix that I can't use the
key on my smartcard to 2FA or push to kernel.org :/  It'll appear some
time tomorrow hopefully.

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


Thread

[PATCH 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-03 23:00 +0100
  Re: [PATCH 2/5] regulator: core: have regulator_dev_lookup() return  ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-04 11:20 +0100
    [PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return  ERR_PTR-encoded errors Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-04 19:20 +0100
      Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup()  return ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-05 16:00 +0100
      Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup()  return ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-06 00:50 +0100
      Applied "regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors" to the regulator tree Mark Brown <broonie@kernel.org> - 2017-02-06 14:40 +0100

csiph-web