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


Groups > linux.kernel > #1226772

Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument
Date 2015-09-17 10:50 +0200
Message-ID <q9D3e-6EA-39@gated-at.bofh.it> (permalink)
References <q3fmV-8oI-5@gated-at.bofh.it> <q3fmW-8oI-21@gated-at.bofh.it> <q8Gmt-5nU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Mon, 14 Sep 2015, Mark Brown wrote:

> On Sun, Aug 30, 2015 at 08:05:10PM +0200, Julia Lawall wrote:
> > Apply PTR_ERR to the value that was recently assigned.
> >
> > The semantic match that finds this problem is as follows:
> > (http://coccinelle.lip6.fr/)
>
> I have no idea what's going on with this stuff without spending more
> time than it looks like should need, there's a moderately big thread and
> some patches posted in the middle of it.  Can you repost whatever the
> current state is please?

The discussion was about introducing a temporary variable to simplify the
code.  But that makes a lot of changes, so I think it would be better to
just apply the original bug fixing patch as is, and then the cleanup could
be applied on top of that.  I will submit the original patch again.

julia
--
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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument Mark Brown <broonie@kernel.org> - 2015-09-14 20:10 +0200
  Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument Julia Lawall <julia.lawall@lip6.fr> - 2015-09-17 10:50 +0200
  Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument Julia Lawall <julia.lawall@lip6.fr> - 2015-09-17 10:50 +0200
    Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument Mark Brown <broonie@kernel.org> - 2015-09-17 11:30 +0200

csiph-web