From patchwork Fri Jun 20 19:44:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 362409 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFFC140088 for ; Sat, 21 Jun 2014 14:33:21 +1000 (EST) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 37FC31A036B for ; Sat, 21 Jun 2014 14:33:21 +1000 (EST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id AB87B1A0366 for ; Sat, 21 Jun 2014 05:45:14 +1000 (EST) Received: by mail-lb0-f181.google.com with SMTP id p9so2602656lbv.40 for ; Fri, 20 Jun 2014 12:45:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ol7L2itF8NPDvC5HCp6mZQ2FYL/cW7ddaRJ85j5E/cc=; b=KfLAqFVnq+LdV3LDHvV2WPOXBXC0OUjImyVu+thzo+qUS69edkT+RM1958pTs4Onb1 BP183QsM5uPcPKX8a8nr5R2f99oJPBOWYVVN4K4gQ56SSFkbd3L/CItHFlNpDDUTG5j1 A4rqqm/1Q0uzGolAEoSC/xDIO/daLyYbINHWwQTRFlpDhkyXfa2yRBVbyA7jSqiaykt/ rnyiqcALP4ZtogLvlwbYiifSb4sPbe5huiQPpY/v9vKlk/PN0rxGTRaSvK+YxsVlwC7x IvM8xhgEvuQrFtwRlBeBuzl/15OjcbqpweIL5BDKs9/QpbRpwpoomo1dyGiZNK+Ngy2p c6JQ== X-Gm-Message-State: ALoCoQlPSOhYC8ZOiqg9+qn02iDx/GZF91d60POgWwh1vNylxB9tdY5pCuW5VvC4Me6Ki6biwNT9 X-Received: by 10.112.142.33 with SMTP id rt1mr3700426lbb.45.1403293509097; Fri, 20 Jun 2014 12:45:09 -0700 (PDT) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id g3sm4045737lam.18.2014.06.20.12.45.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jun 2014 12:45:08 -0700 (PDT) From: Rasmus Villemoes To: Benjamin Herrenschmidt , Jiri Kosina Subject: [PATCH] trivial: drivers/macintosh/smu.c: Fix closing brace followed by if Date: Fri, 20 Jun 2014 21:44:27 +0200 Message-Id: <1403293467-17521-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 1.7.10.4 X-Mailman-Approved-At: Sat, 21 Jun 2014 14:32:50 +1000 Cc: Rasmus Villemoes , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" A closing brace followed by "if" is almost certainly a mistake. Maybe "else if" was meant, but in this case it doesn't really matter. Signed-off-by: Rasmus Villemoes --- drivers/macintosh/smu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 23b4a3b..4eab93a 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c @@ -1257,7 +1257,8 @@ static unsigned int smu_fpoll(struct file *file, poll_table *wait) if (pp->busy && pp->cmd.status != 1) mask |= POLLIN; spin_unlock_irqrestore(&pp->lock, flags); - } if (pp->mode == smu_file_events) { + } + if (pp->mode == smu_file_events) { /* Not yet implemented */ } return mask;