From patchwork Mon Oct 3 09:45:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 9360351 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 92E70607D8 for ; Mon, 3 Oct 2016 09:45:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8996D2879E for ; Mon, 3 Oct 2016 09:45:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C98E28917; Mon, 3 Oct 2016 09:45:09 +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, T_TVD_MIME_EPI 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 0E2112879E for ; Mon, 3 Oct 2016 09:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752876AbcJCJpH (ORCPT ); Mon, 3 Oct 2016 05:45:07 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:51064 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752253AbcJCJpG (ORCPT ); Mon, 3 Oct 2016 05:45:06 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 15324823BF; Mon, 3 Oct 2016 11:45:04 +0200 (CEST) Date: Mon, 3 Oct 2016 11:45:03 +0200 From: Pavel Machek To: j.anaszewski@samsung.com, linux-leds@vger.kernel.org, kernel list , jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org Cc: trivial@kernel.org Subject: Re: [PATCH] hid-led.c: remove unneccessary underscores Message-ID: <20161003094503.GC9131@amd> References: <20161003081626.GA18553@amd> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20161003081626.GA18553@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Mon 2016-10-03 10:16:26, Pavel Machek wrote: > > u8 (and friends) can be used directly in kernel sources (not kernel > headers). > > Signed-off-by: Pavel Machek Zero day bot warned me that this is not quiet correct. This would be needed on top. Is there interest in fixed patch? diff --git a/drivers/hid/hid-led.c b/drivers/hid/hid-led.c index cd208ca..be659ca 100644 --- a/drivers/hid/hid-led.c +++ b/drivers/hid/hid-led.c @@ -57,8 +57,8 @@ union delcom_packet { u8 cmd; } rx; struct { - le16 family_code; - le16 security_code; + __le16 family_code; + __le16 security_code; u8 fw_version; } fw; };