From patchwork Sun Nov 27 16:11:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Ghittino X-Patchwork-Id: 9448823 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 F3B326071A for ; Sun, 27 Nov 2016 16:11:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3E3827BFC for ; Sun, 27 Nov 2016 16:11:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E50A827C0B; Sun, 27 Nov 2016 16:11:50 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 7E6B727BFC for ; Sun, 27 Nov 2016 16:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbcK0QLt (ORCPT ); Sun, 27 Nov 2016 11:11:49 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35987 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401AbcK0QLt (ORCPT ); Sun, 27 Nov 2016 11:11:49 -0500 Received: by mail-wm0-f65.google.com with SMTP id m203so15113475wma.3 for ; Sun, 27 Nov 2016 08:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=8gs+BepP6XOPZT3vGnyHPoTFvhCYXmtX8/IunCDExUs=; b=i67cHJaiEJgvCPFagNW1D+uWwjVR9EqVez9BUG/+fCJoFthG/zaCuR2F0yQfXydV4p wIw+tu0faiL+/a5XC+ilzychZDayzPaMLeDH1IQFQaWC5rQnxjumJ53Ko/ERFLlp2UkP ZOmdmpgH5trBGA4vtNuMRNEmuWSY0sZ9aHcZi8awtqKDg1WgnyFz8jXwvKqoob4XH8hP I/plh64kYW6rBrMLo+wRZuSHgSvC6E4FuIV2lC1aWNohpyf3aaGAYL/fJ7UyJ3Y/ahGr hHxyly6gqnG9YHFYiyXPe8pkFbjmN2n5weRN8gfN3xVwg6782tVrtTnybf7kgckv2fji g9Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=8gs+BepP6XOPZT3vGnyHPoTFvhCYXmtX8/IunCDExUs=; b=aW4L8Vx5qu2Zwh5ymW4h8XmBI4ebez5pA5C4NxNaDiwDwsi3BkA1j1lq51D1DR3lxa PEp4Nj3JXeo8iks+7OQ+ISss1iJ8HPzqLxm+2y8X8xpWx110zR1cpYtrOHfUp6I0OGEN x7vziQ3R70boAcRC0A4QRAd58/oXpIoHViiSWOT2pIYH2iPxq0KYrG0h8e1uVRN2rtoU 9rtK2tm+zBut+J8A/eOuXihLDALcEIilafUje82WntsRg5TUymS6+DSXfZXx545a3Ho7 ZzBYDkEhOQzM64eSKWShXgjNDCMyheTw/ANISUvsvqTBf3sB+MTbcUxlzginN/jcvGX/ hhuQ== X-Gm-Message-State: AKaTC00ZPzkJID57hftsWX23WrppU60qgdCIKsPcXX98yTlY2sARSZ+pihmcdxDJ6z9BiQ== X-Received: by 10.28.49.193 with SMTP id x184mr14800270wmx.44.1480263107754; Sun, 27 Nov 2016 08:11:47 -0800 (PST) Received: from myhd3 ([5.170.24.161]) by smtp.gmail.com with ESMTPSA id b7sm57901272wjm.39.2016.11.27.08.11.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Nov 2016 08:11:46 -0800 (PST) Date: Sun, 27 Nov 2016 17:11:38 +0100 From: Andrea Ghittino To: devel@driverdev.osuosl.org Cc: gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, teddy.wang@siliconmotion.com, sudipm.mukherjee@gmail.com Subject: [PATCH] staging: sm750fb: fix permission style warning Message-ID: <20161127161131.GA7504@myhd3> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes sm750fb user/groups permission style warning found by checkpatch.pl tool Signed-off-by: Andrea Ghittino --- -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 2d22c51..2d33b80 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -1228,7 +1228,7 @@ static void __exit lynxfb_exit(void) } module_exit(lynxfb_exit); -module_param(g_option, charp, S_IRUGO); +module_param(g_option, charp, 0444); MODULE_PARM_DESC(g_option, "\n\t\tCommon options:\n"