Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6200121imm; Mon, 27 Aug 2018 11:26:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYrhRPpTQNxc/X6mfrCZEsChsk5bLUf7KZZkf5yTwIvSz3TbCu15YCozo4MmaoJMObzRYHk X-Received: by 2002:a17:902:d213:: with SMTP id t19-v6mr14195445ply.63.1535394360422; Mon, 27 Aug 2018 11:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535394360; cv=none; d=google.com; s=arc-20160816; b=cWcQpF3GHzK1euABsYyO/shn+dejNur5j5QYcDxaYoMysk7RT1jd96a0HoTniKXsx5 6YAMBsTNNbXdFAUieP8pI4+AQPRgrnt05Vb1IYW4rsDyjlcSCY0EIMu+WBo31LgDWf7m SC6xcPhgmY3alR1fWwY/zO5UKs84PL6Ua0p/+NYhwYGesdqZygg5ir7p0RmlPdlNK2Ye 4qIx7Uv36xEEIkZ1QqJ79NCMjmnuI83XMXwvl6fleAfD2qCeX37bZQ/AgC5zPAOKfihU tvMvgWnEaYmeU+eILnPjp9R+9+XdUNA7ZANUWbYm/WiA4y27/jtdHrsICVftNfGMJEgC RrNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature :arc-authentication-results; bh=J4vJO5Ywy8DYy/g0zXHn8P/AyhW+MnXHf1uAvgvYs2I=; b=uct7doR8LdJiQS0J3vMOyhk43WvPKjkQCsnyXZgAVfS39MosYnXwnlFDsvzL0Y9v1h 6jfctUJFjy51r/dDFxZmQLnk556GWYEilNbJ9yxziQw0vTUly2I3hiAigRp+aU1u77Dc Er8sPi7snhDP3Ar4XAGH4fgjIeWocJV8fiDMqGv7/tzhB4hQwouuK8o8g3Ds3dKAoyOQ 8DRIqyDJQRJxs2W+Z33NLawBgPbk5v3x84ZG9AS+Qrfk23YdUDorqUEFaTf98BOOFXIv 4ePHeUVTzAndtTWDh/PhU/2ZIKPiggbHTFrzxGYG8LKQMk97SfCJg1pSXzV0Kz5WBQ5I H6ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="XG/K6V21"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11-v6si14891708pgc.460.2018.08.27.11.25.45; Mon, 27 Aug 2018 11:26:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="XG/K6V21"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbeH0WL6 (ORCPT + 99 others); Mon, 27 Aug 2018 18:11:58 -0400 Received: from mail-pg1-f201.google.com ([209.85.215.201]:55268 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbeH0WL5 (ORCPT ); Mon, 27 Aug 2018 18:11:57 -0400 Received: by mail-pg1-f201.google.com with SMTP id o16-v6so11498481pgv.21 for ; Mon, 27 Aug 2018 11:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=J4vJO5Ywy8DYy/g0zXHn8P/AyhW+MnXHf1uAvgvYs2I=; b=XG/K6V21bcCAH+9eAbPSFM9BAYjEvHKWdR8xn8epK/EB7Mjbe5UFLevsaLQ5SiVNvd MeYDg7L+/DPnb4yAbEDoLafCCdvI2wn/eLuExPVIaNX+UfmDIY93E+RBnaz69+MwK6lI BL8lf4Cq7sWGb/kvcWUEwrrCUPNGN9M2tofa7onTnsUDxnps5mJQtnq9HMZiMjBxizcd 8fOMxW3uuNzFNMNZ4DbQy0rt+wS/cneTV4fJc4jmUxVJMzop4ejJoq4LqEZzYqv4KsPH /13krCm3QCXajfBWjBuu4gD5EUXaTWdi+VmOVfT8Jh4DQabBmztt+HujClOefml7LC4i AKhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=J4vJO5Ywy8DYy/g0zXHn8P/AyhW+MnXHf1uAvgvYs2I=; b=UhPfeGma52MoBGOqZEdXJoyP8cUueHm1QPOnd200UIYl/0MCMeiTJWOlUM2MgIFXsg AnZGeh1i14y3/tjMQ+RaPdDs7uc3oBUczaAcjnMvINzaDYPS2/TyRPWAETqVNxxz0ToG x8a3YxMKsdgsDTyLR9auMkj9HgdMqA8eTSJ9LU8WusvTWSNIVjBOHp2sQBWpkWeG43MP dNuT/jAhjeZ2wH1F/Kgiiy6QZeNUh1dj+7fNbXIukPf3VL1vlmHs0I22puTNc56JC56W ax/NZw64lCheAzIucvFuESyRzLmTGJUr2my4w9Vl4IMF3Nv8VxJ/+NB0+FRjBIaBYWLv /Grw== X-Gm-Message-State: APzg51DSknxCo7KrZomNJyScptoVRrWTDcto/Rew7ActDTPnnHmLEFXN p/bWiSAylFQ3QpyYLrJrVhx0eYAw X-Received: by 2002:a63:e746:: with SMTP id j6-v6mr3343926pgk.83.1535394255839; Mon, 27 Aug 2018 11:24:15 -0700 (PDT) Date: Mon, 27 Aug 2018 11:23:09 -0700 In-Reply-To: <20180827182315.126345-1-rkir@google.com> Message-Id: <20180827182315.126345-14-rkir@google.com> Mime-Version: 1.0 References: <20180827182315.126345-1-rkir@google.com> X-Mailer: git-send-email 2.19.0.rc0.228.g281dcd1b4d0-goog Subject: [PATCH 14/20] platform: goldfish: pipe: Rename 'wakeBit' to 'wake_bit' From: rkir@google.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, tkjos@google.com, Roman Kiryanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Kiryanov checkpatch: Avoid CamelCase Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index 14441e7106ba..cab1935a04c5 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -363,18 +363,18 @@ static int transfer_max_buffers(struct goldfish_pipe *pipe, static int wait_for_host_signal(struct goldfish_pipe *pipe, int is_write) { - u32 wakeBit = is_write ? BIT_WAKE_ON_WRITE : BIT_WAKE_ON_READ; + u32 wake_bit = is_write ? BIT_WAKE_ON_WRITE : BIT_WAKE_ON_READ; - set_bit(wakeBit, &pipe->flags); + set_bit(wake_bit, &pipe->flags); /* Tell the emulator we're going to wait for a wake event */ (void)goldfish_cmd(pipe, is_write ? PIPE_CMD_WAKE_ON_WRITE : PIPE_CMD_WAKE_ON_READ); - while (test_bit(wakeBit, &pipe->flags)) { + while (test_bit(wake_bit, &pipe->flags)) { if (wait_event_interruptible( pipe->wake_queue, - !test_bit(wakeBit, &pipe->flags))) + !test_bit(wake_bit, &pipe->flags))) return -ERESTARTSYS; if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) -- 2.19.0.rc0.228.g281dcd1b4d0-goog