From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935041AbdBQUSH (ORCPT ); Fri, 17 Feb 2017 15:18:07 -0500 Received: from mail-yw0-f196.google.com ([209.85.161.196]:33764 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934905AbdBQUSF (ORCPT ); Fri, 17 Feb 2017 15:18:05 -0500 From: Nathan Howard Cc: Nathan Howard , Greg Kroah-Hartman , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Stephen Warren , Lee Jones , Eric Anholt , Michael Zoran , devel@driverdev.osuosl.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] staging: bcm2835-audio: bcm2835.h: fix volatile coding style issue Date: Fri, 17 Feb 2017 15:16:20 -0500 Message-Id: <1487362603-15967-4-git-send-email-adanhawthorn@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487362603-15967-1-git-send-email-adanhawthorn@gmail.com> References: <1487362603-15967-1-git-send-email-adanhawthorn@gmail.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch.pl warning of the form "WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835.h b/drivers/staging/bcm2835-audio/bcm2835.h index 2f9d1c9..08f7ad6 100644 --- a/drivers/staging/bcm2835-audio/bcm2835.h +++ b/drivers/staging/bcm2835-audio/bcm2835.h @@ -125,8 +125,8 @@ struct bcm2835_alsa_stream { struct semaphore buffers_update_sem; struct semaphore control_sem; spinlock_t lock; - volatile unsigned int control; - volatile unsigned int status; + unsigned int control; + unsigned int status; int open; int running; -- 2.7.4