HP reports drop in profit but says turnaround effort making progress