]> code.ossystems Code Review - openembedded-core.git/commit
libpfm4: fix compile error
authorKai Kang <kai.kang@windriver.com>
Wed, 29 Jun 2016 08:08:45 +0000 (16:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:55:40 +0000 (09:55 +0100)
commit2857658ff5e477cb436cf2778a78fa9f192caab8
tree8f7c35f3768ed3eea2143f7cc0101763eb0e497f
parenta7133bf6bb650b944d29d01129f36a56282acd2b
libpfm4: fix compile error

It fails to compile libpfm4 with misleading-indentation error:

| syst_count.c:346:3: error: this 'for' clause does not guard...  [-Werror=misleading-indentation]
|   for(c=cmin ; c < cmax; c++)
|      ^~~

Add clauses to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/libpfm/files/fix-misleading-indentation-error.patch [new file with mode: 0644]
meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb