[PATCH 1/5] char: lp: ensure that index has not exceeded LP_NO