Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbdFYNXy (ORCPT ); Sun, 25 Jun 2017 09:23:54 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34673 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbdFYNXv (ORCPT ); Sun, 25 Jun 2017 09:23:51 -0400 From: Ruslan Bilovol To: Felipe Balbi Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] USB Audio gadget endianness fixes Date: Sun, 25 Jun 2017 16:23:44 +0300 Message-Id: <1498397027-17724-1-git-send-email-ruslan.bilovol@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 32 Audio gadget refactoring patches touched few function files and triggered kbuild test robot verification who found some endianness issues by sparse tool. Since most of these issues existed from beginning in f_uac2 and f_uac1_legacy drivers (and were inherited be f_uac1), it seems nobody run audio gadgets on big-endian systems. I fixed only f_uac1/f_uac2 issues leaving leagacy uac1 driver untouched. USB audio headers also were updated. I tested patches only on LE system because I have no big-endian hardware. Also there is no anymore endianness warnings from sparse during kernel build. For big endian case tested only build which also doesn't produce sparse warnings anymore. Ruslan Bilovol (3): include: usb: audio: specify exact endiannes of descriptors usb: gadget: f_uac1: endianness fixes. usb: gadget: f_uac2: endianness fixes. drivers/usb/gadget/function/f_uac1.c | 20 ++++++++++---------- drivers/usb/gadget/function/f_uac2.c | 25 ++++++++++++++----------- include/linux/usb/audio-v2.h | 14 +++++++------- include/uapi/linux/usb/audio.h | 6 +++--- 4 files changed, 34 insertions(+), 31 deletions(-) -- 1.9.1