From patchwork Mon Mar 4 12:58:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 2212361 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 1E4BE3FCF2 for ; Mon, 4 Mar 2013 12:59:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757845Ab3CDM7b (ORCPT ); Mon, 4 Mar 2013 07:59:31 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34496 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757764Ab3CDM73 (ORCPT ); Mon, 4 Mar 2013 07:59:29 -0500 Received: by mail-pa0-f46.google.com with SMTP id kp14so3141597pab.5 for ; Mon, 04 Mar 2013 04:59:29 -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=BP/DZY9HLEHNLMBnfl2ptVDizozp64qv9K12q4j8pB0=; b=NoUpZGGCljHZCMnaCP4DYFPv2HR6CWvkydPflc+2J1b0ou3so8n9ffYjDTxZbhlXhH qoXNIi1ZT+79Cbyn1dGulDxbKlyfHDKeTZjVdDBrkR3stZDaT864+qBS1zvH1hYB4QZQ d6WAYbvB5zKRW83KSSOGJ6znWwLzQT3hcbpcfNeGsL413pe7GY1EVm35lFLjbl33/t8+ Qt6qct5ZrCrigK6spZ6WfUT64oXpObUQ8Q6/UQu5UWgE/BTjSV4DjIBICPrFus94WLUN om4BZ7L/VOaXCkw6oNyEaNKZ5yUPBGvXwjTaGZ5w4wcIArydisF2Pp3U8k7TzZdALdmC SN1A== X-Received: by 10.68.201.194 with SMTP id kc2mr19887646pbc.27.1362401969197; Mon, 04 Mar 2013 04:59:29 -0800 (PST) Received: from localhost.localdomain (p2126-ipbf3106hodogaya.kanagawa.ocn.ne.jp. [114.149.157.126]) by mx.google.com with ESMTPS id t6sm23836060paz.11.2013.03.04.04.59.26 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 04:59:28 -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 -v3 11/23] video/uvesafb: rename random32() to prandom_u32() Date: Mon, 4 Mar 2013 21:58:19 +0900 Message-Id: <1362401911-14074-12-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1362401911-14074-1-git-send-email-akinobu.mita@gmail.com> References: <1362401911-14074-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 --- No change from v2 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 b75db01..0d0a43c 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));