From patchwork Wed Oct 19 17:17:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Baptiste Abbadie X-Patchwork-Id: 9384929 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EBF63607D0 for ; Wed, 19 Oct 2016 17:27:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD227295B0 for ; Wed, 19 Oct 2016 17:27:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D20652965D; Wed, 19 Oct 2016 17:27:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7AF8295B0 for ; Wed, 19 Oct 2016 17:27:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941553AbcJSR1R (ORCPT ); Wed, 19 Oct 2016 13:27:17 -0400 Received: from mail.abbadie.fr ([37.187.122.32]:53306 "EHLO mail.abbadie.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941030AbcJSR1Q (ORCPT ); Wed, 19 Oct 2016 13:27:16 -0400 From: Jean-Baptiste Abbadie To: Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-media@vger.kernel.org Cc: Jean-Baptiste Abbadie Subject: [PATCH 2/3] Staging: media: radio-bcm2048: Fix alignment issues Date: Wed, 19 Oct 2016 19:17:12 +0200 Message-Id: <20161019171713.19181-2-jb@abbadie.fr> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161019171713.19181-1-jb@abbadie.fr> References: <20161019171713.19181-1-jb@abbadie.fr> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jean-Baptiste Abbadie --- drivers/staging/media/bcm2048/radio-bcm2048.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 188d045d44ad..f66bea631e8e 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -997,7 +997,7 @@ static int bcm2048_set_fm_search_tune_mode(struct bcm2048_device *bdev, timeout = BCM2048_AUTO_SEARCH_TIMEOUT; if (!wait_for_completion_timeout(&bdev->compl, - msecs_to_jiffies(timeout))) + msecs_to_jiffies(timeout))) dev_err(&bdev->client->dev, "IRQ timeout.\n"); if (value) @@ -2202,7 +2202,7 @@ static ssize_t bcm2048_fops_read(struct file *file, char __user *buf, } /* interruptible_sleep_on(&bdev->read_queue); */ if (wait_event_interruptible(bdev->read_queue, - bdev->rds_data_available) < 0) { + bdev->rds_data_available) < 0) { retval = -EINTR; goto done; }