Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754912AbaGBV4C (ORCPT ); Wed, 2 Jul 2014 17:56:02 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:57114 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbaGBVz7 (ORCPT ); Wed, 2 Jul 2014 17:55:59 -0400 From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Jingoo Han , Laurent Pinchart , Rob Clark , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: fbdev: sh_mipi_dsi.c: Cleaning up Boolean used in bitwise operation Date: Wed, 2 Jul 2014 23:57:11 +0200 Message-Id: <1404338232-6708-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Boolean variable is used in bitwise operation. I personally find that this was pretty ugly, but think a solution like this yet is more correct. This was found using a static code analysis program called cppcheck Rickard Strandqvist (1): video: fbdev: sh_mipi_dsi.c: Cleaning up Boolean used in bitwise operation drivers/video/fbdev/sh_mipi_dsi.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 1.7.10.4 -- 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/