From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akinobu Mita Date: Mon, 24 Dec 2012 02:13:58 +0000 Subject: [PATCH 11/29] video/uvesafb: rename random32() to prandom_u32() Message-Id: <1356315256-6572-12-git-send-email-akinobu.mita@gmail.com> List-Id: References: <1356315256-6572-1-git-send-email-akinobu.mita@gmail.com> In-Reply-To: <1356315256-6572-1-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: Akinobu Mita , Michal Januszewski , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Michal Januszewski Cc: Florian Tobias Schandinat Cc: linux-fbdev@vger.kernel.org --- drivers/video/uvesafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 2f8f82d..d120b11 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c @@ -166,7 +166,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task) memcpy(&m->id, &uvesafb_cn_id, sizeof(m->id)); m->seq = seq; m->len = len; - m->ack = random32(); + m->ack = prandom_u32(); /* uvesafb_task structure */ memcpy(m + 1, &task->t, sizeof(task->t)); -- 1.7.11.7