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


Groups > linux.kernel > #1210671

Re: [PATCH v2 4/5] regmap: regmap_raw_read return error on !bus->read

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/5] regmap: regmap_raw_read return error on !bus->read
Date 2015-08-20 20:40 +0200
Message-ID <pZCUN-4Dv-11@gated-at.bofh.it> (permalink)
References <pZuaR-wx-3@gated-at.bofh.it> <pZuaT-wx-41@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 Thu, Aug 20, 2015 at 11:12:35AM +0200, Markus Pargmann wrote:
> Return -ENOTSUPP if map->bus->read is not implemented and we do not use
> the cache. This code path would directly use bus->read would run into an
> NULL pointer for the read function.

Please put fixes like this before coding style changes like patch 3.

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


Thread

[PATCH v2 0/5] regmap: fixes Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 11:20 +0200
  [PATCH v2 4/5] regmap: regmap_raw_read return error on !bus->read Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 11:20 +0200
    Re: [PATCH v2 4/5] regmap: regmap_raw_read return error on !bus->read Mark Brown <broonie@kernel.org> - 2015-08-20 20:40 +0200

csiph-web