forked from Minki/linux
linux-kselftest-4.2-rc5
Kselftest fixes for 4.2-rc5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVtkSOAAoJEAsCRMQNDUMcA94QAOGBcxobPi6ufSmq6jpyfEv/ 7a9ZS9Gg0VyrcfydP2gdUhbrx5EzGVTAI2Ex0FMrYSyQnc0SEgAJiFvL79OFtu2x 2aozEg1OFsba3YwXgj5Gzb305UlCmCZ7r4OhXFMpvnc/lFL3Q+gUqsUkrqO0nzI4 ZXV3euYnSInkRgi56NhDGzGK3qzDBwGxbHIM5Fl0hWzKvGyQBaGNbRnS/YWs3KgX kg4tHZ0jGQxziL720brIm+q2WpZLTzoXIBoLTLIb8LCinomMt+h3Kmb4QbzkLxQ3 s5c+GSVZ94ZsyLi6jmYzDPTUTeDWypNIe1YVCDMsAs00282okqSyNDGAnu9KiGUe mx/kBCqttKQrvtL3H5HgC9YzJGK9vrcKvQhOa18fJvdizgO4GJJxl83QnM4WlI2N mGwgoe/No5h+iFX7Mvh36CYyvOPRupMg7H1mX7gCdoKodCObppgTbbMrZFSxKvMH VytrdRU10XWKgO2imdBsSfvoFIZ1h3+9Y4rB5nJLkrQWHAkZTeLeXkqgv4gmrO5k nPfg00ipX0Pac7vYamLkKWwmbIUK7ryBbJVhAmF5g6u7E8MIgcwPR9pdLXmVL70i dLL4Cib13QHGtXe0J7M5fmecNVGHrDdvXBBphZuql7jYdaP8+sx2mUSNB/IC697i n8l9aNrHu+sHbs2yjX8s =Hkw2 -----END PGP SIGNATURE----- Merge tag 'linux-kselftest-4.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest Pull kselftest fix from Shuah Khan. * tag 'linux-kselftest-4.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/futex: Fix futex_cmp_requeue_pi() error handling
This commit is contained in:
commit
30b4f0faf4
@ -191,7 +191,7 @@ int main(int argc, char *argv[])
|
|||||||
if (res > 0) {
|
if (res > 0) {
|
||||||
atomic_set(&requeued, 1);
|
atomic_set(&requeued, 1);
|
||||||
break;
|
break;
|
||||||
} else if (res > 0) {
|
} else if (res < 0) {
|
||||||
error("FUTEX_CMP_REQUEUE_PI failed\n", errno);
|
error("FUTEX_CMP_REQUEUE_PI failed\n", errno);
|
||||||
ret = RET_ERROR;
|
ret = RET_ERROR;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user