Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751040AbbEYSiV (ORCPT ); Mon, 25 May 2015 14:38:21 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36636 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbbEYSiU (ORCPT ); Mon, 25 May 2015 14:38:20 -0400 From: Shailendra Verma To: Jens Axboe Cc: linux-kernel@vger.kernel.org, Shailendra Verma Subject: [PATCH] cdrom:cdrom - Change 1 to true for bool type variables during assignments. Date: Tue, 26 May 2015 00:08:08 +0530 Message-Id: <1432579088-4451-1-git-send-email-shailendra.capricorn@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 37 The variables autoclose, lockdoor and mrw_format_restart are bool type. So assigning the value as true instead of 1. Signed-off-by: Shailendra Verma --- drivers/cdrom/cdrom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 5d28a45..76119d5 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -287,13 +287,13 @@ /* used to tell the module to turn on full debugging messages */ static bool debug; /* default compatibility mode */ -static bool autoclose=1; +static bool autoclose = true; static bool autoeject; -static bool lockdoor = 1; +static bool lockdoor = true; /* will we ever get to use this... sigh. */ static bool check_media_type; /* automatically restart mrw format */ -static bool mrw_format_restart = 1; +static bool mrw_format_restart = true; module_param(debug, bool, 0); module_param(autoclose, bool, 0); module_param(autoeject, bool, 0); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/