/* @priv: private data of the video console @row: new row @col: new column  */
static void set_cursor_position(struct vidconsole_priv *priv, int row, int col)
/* @priv: private data of the video console @row: new row @col: new column  */
static void set_cursor_position(struct vidconsole_priv *priv, int row, int col)
{
	if (row >= priv->rows)
		row = priv->rows - 1;
	if (col >= priv->cols)
		col = priv->cols - 1;
	priv->ycur = row * priv->y_charsize;
	priv->xcur_frac = priv->xstart_frac +
			  VID_TO_POS(col * priv->x_charsize);
}