Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp114144ybr; Fri, 22 May 2020 02:21:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygY5mH2q//86XLkBohMxSyHxepN8vTKiIdXrhjMa6tieMIkbtcju7DUju2pEaxTm4QqF1a X-Received: by 2002:a17:906:bc55:: with SMTP id s21mr7039912ejv.21.1590139264130; Fri, 22 May 2020 02:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590139264; cv=none; d=google.com; s=arc-20160816; b=ehB5fO7L0nHnrEdXcxx/BaS+EZ0AQBa1GDPmmsn7BGS1xPnCEQ025xFG4kSldjXGzZ 7ySTTOuf6sADBpc29mAV2gvwp9NHixBpVpnpgMnKbRk9mCO7cYXlwqJfdUKlwi6xz5tF v5lrnra6qpz94gG1xAag9Tyv+2iXLLb3Gm9tkwuzesmt3KTlhrajgdhA47eu9dMj7t3s 1vhV84mh7PTagYcfHirLIJOkLV9FkszhTKjVxHTE3zZfj9mbNKaMiOneJBiSQo+efZlW h4OxNjqNCXucTK4vCVYmE+R0f99hquY52lXbqvs/NAZj0SRwwAWP/A+hk/wEzWovDNDg BVaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=1xYKxvvZ1z74EVfTyWa+2nvhPJspgg6ccXHqA7I5bu4=; b=cD6p5jeiSOCS794bE0ykugpmGTtgAOPAIxTLxARXJmhFKakOfYkiHLX/cTuSPKXHbE aG83uUBby8iFSic3KSWU7SWWby4KQlRjxbyxnUIzj6abXtTbd0vRzqRwjK0WU8XRCRLO S6kGDZwmDVbIbpupW1AcuNHQalus/PvvjBlorAkQ6KZg2L2EEdVGhUTkNeYWw/h7Gww8 k5pkwbvuviprqOMELUv1qT4n8DirEC5Rvmd8mrIPXaMqpXjOJ3o6wBROPK1eot4MuMkb I1tmorxQxpEBxYpmflHWiuu0arS4rq/VVhgfkLVfhJyIcfVc9dTxlBKCW1OIACR8L8i6 ToaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lFR172sQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qu8si4576107ejb.188.2020.05.22.02.20.41; Fri, 22 May 2020 02:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lFR172sQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729517AbgEVJRI (ORCPT + 99 others); Fri, 22 May 2020 05:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728068AbgEVJRH (ORCPT ); Fri, 22 May 2020 05:17:07 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63EEAC061A0E for ; Fri, 22 May 2020 02:17:06 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id r10so4731295pgv.8 for ; Fri, 22 May 2020 02:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1xYKxvvZ1z74EVfTyWa+2nvhPJspgg6ccXHqA7I5bu4=; b=lFR172sQ2cEdHj7hwVMucNDHtLV8DAy6vN/j7W9x5leMGqmM1IRqm0xgH3fxFQbZ0X bB42pdtpgiTI2cV4jJ7nRlOPu9mw7/0txoLoFiCWCfgxE7UnVZ2ZyQqQz51rDFJDePlj GscTYfipqeM5XkGB255ziuF7hHr+PzpdJJJ7lPSjk4vslQSeHrVyXYxN9KrPN//xYTny MZgPCWk+b45XqPkreMPhSiuh55VwYi7xOYcP7LkgYgw+MbppOe+99HBxHkiOdv++IsrG GLfZAtaZpi/D8gO4yE7lsCizDjNq58I1ZAO3kxCoPlZnpqsp61H/fShw4Y3WuArFhkjR FUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1xYKxvvZ1z74EVfTyWa+2nvhPJspgg6ccXHqA7I5bu4=; b=hKD7KDH8zV97hkpAeZQS0uD+WquMKEjQ9KQ5dbCfgpbN1PYn+nJ/r0axg22d1O5Wq0 jZvR7wU2xx24ZsyGVjL8VrO7Kh8/UEF5N/r+okrGbiHd7d9nxcQu+H8XMYzrzPPXjNhS G01dYssKj0a5iQvLJYIFgJ4Z7VJr3oNXBI/qQZmEfd0iQzPct+fGZBvblfzhdmvISmud uceNOq9wDG4YZyPIf+pCbDutcx+mTMlgXKp7f9QpeRhBgrvmu2VmJOezFUxZAsziZ/pH 4F7lGm9lAyPOVbeE3ERAtADVPywMh+IZW0J+w5PI2sz59uL69W6duNlSxZiHI3BRHRpF Fz0A== X-Gm-Message-State: AOAM533BX9tYGIDin95bOsW8ngIZ+Q5SUxXxoGuTCMyR8VZyQKG+Eq3i BoLCiZOEJ/oU+ekJ2qQf0vw= X-Received: by 2002:a63:1615:: with SMTP id w21mr8174775pgl.217.1590139025750; Fri, 22 May 2020 02:17:05 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:690:5767:49e2:74e6:c65c:429e]) by smtp.gmail.com with ESMTPSA id m63sm6612872pfb.101.2020.05.22.02.17.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 May 2020 02:17:05 -0700 (PDT) From: MugilRaj Cc: MugilRaj , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] taging: speakup: remove volatile Date: Fri, 22 May 2020 14:46:28 +0530 Message-Id: <1590138989-6091-1-git-send-email-dmugil2000@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix checkpatch.pl warning, which is Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst Signed-off-by: MugilRaj --- drivers/staging/speakup/speakup_decext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/speakup_decext.c b/drivers/staging/speakup/speakup_decext.c index ddbb7e9..22baaeb 100644 --- a/drivers/staging/speakup/speakup_decext.c +++ b/drivers/staging/speakup/speakup_decext.c @@ -21,7 +21,7 @@ #define SYNTH_CLEAR 0x03 #define PROCSPEECH 0x0b -static volatile unsigned char last_char; +static unsigned char last_char; static void read_buff_add(u_char ch) { -- 2.7.4