Hi!
> Fixed test-cases behavior: major number greater than 255 is valid,
> empty device name is valid.
> Added test-cases results and sysfs files.
> Added user-space program which checks each test-case result.
> Added command line parameter 'a': run all test-cases.

...

> +             if (major2 == 0)
> +                     unregister_blkdev(major, BLK_DEV_NAME);
> +             else {
> +                     pass = 0;
> +                     prk_debug("1st call to register_blkdev() with major=%i "
> +                             "failed with error %i\n", major, major2);
> +             }

Pushed with two more curly braces around this block, thanks.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to