On 21/03/2016 14:41, haris iqbal wrote: > Hello, > > I saw a task which says to " Add checks for NULL return value to uses > of load_image_targphys,...". But what I saw in the codebase, > load_image_targphys() returns int. So why should it be checks for > NULL.
You're right, in the case of load_image_targphys the error value is -1. I've fixed the wiki page. Paolo