From patchwork Mon Dec 24 02:13:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 1907661 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BCA71E00C6 for ; Mon, 24 Dec 2012 02:15:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752887Ab2LXCO6 (ORCPT ); Sun, 23 Dec 2012 21:14:58 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:43166 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877Ab2LXCOz (ORCPT ); Sun, 23 Dec 2012 21:14:55 -0500 Received: by mail-pa0-f51.google.com with SMTP id fb11so3818512pad.24 for ; Sun, 23 Dec 2012 18:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=U59lFr0kbvdF45j35TFtn8UHm3Nq5ypACHTudUSxzF4=; b=0JxSaFFLkiIc1DJ+B0mLp8uMeSsZi4qtK7jLleG9gbuDAlrSeKNOuqoSxGaaGeYA73 HW+l0SJox7X6tJARhpaCCWK9qcy5IXMfqQmNFwBqHh8OW+ALn2IFvXK+Nx0LYgOYSmPc yn6Y1ytVuJ7nx5QHYf0d9rrJJkXDVyI5SbNrb0INU5MpHSFIfWZBLNAfv/4B/d7z8SFJ YVqor9o0Xxew6yrrQYaDqKjxOkfcK0JsRZn06fl+BG/PiEQ7cXMdzLCOWMf5hqAAhR+t E1pvVTQP8xodRLz5qoEJwJV+XV2Y6kP6++DeQBl/X/dYZVW3lulIWxb/yUuTXGqwEtau Hpug== X-Received: by 10.66.89.42 with SMTP id bl10mr59039644pab.2.1356315294552; Sun, 23 Dec 2012 18:14:54 -0800 (PST) Received: from localhost.localdomain (p2126-ipbf3106hodogaya.kanagawa.ocn.ne.jp. [114.149.157.126]) by mx.google.com with ESMTPS id wr4sm11379909pbc.72.2012.12.23.18.14.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Dec 2012 18:14:53 -0800 (PST) From: Akinobu Mita To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: Akinobu Mita , Michal Januszewski , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org Subject: [PATCH 11/29] video/uvesafb: rename random32() to prandom_u32() Date: Mon, 24 Dec 2012 11:13:58 +0900 Message-Id: <1356315256-6572-12-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1356315256-6572-1-git-send-email-akinobu.mita@gmail.com> References: <1356315256-6572-1-git-send-email-akinobu.mita@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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));