Mention the undefined behavior if gpiod_line_iter_last_offset() is
ever called before gpiod_line_iter_next().
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
* @param iter The GPIO line iterator object.
* @return The offset of the last line we tried to open - whether we failed
* or succeeded to do so.
+ *
+ * If this function is called before gpiod_line_iter_next() is called at least
+ * once, the results are undefined.
*/
static inline unsigned int
gpiod_line_iter_last_offset(const struct gpiod_line_iter *iter)