]> git.baikalelectronics.ru Git - kernel.git/commit
perf target: Fix check on buffer size
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 26 Jul 2012 01:50:10 +0000 (10:50 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Aug 2012 21:42:54 +0000 (18:42 -0300)
commit59cd898ff4d619575ae6914ddf30cdcf72119cbb
treefacd47d1b40553120ddba146c9cea03cbb35f031
parentb151586b3e4724b128bee66f8142eb0c54e9c9ef
perf target: Fix check on buffer size

It was a mistake just replace assert to BUG_ON since its condition
should be negated. Fix it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ulrich Drepper <drepper@gmail.com>
Link: http://lkml.kernel.org/r/1343267410-7758-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/target.c