From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754261AbcFQVHe (ORCPT ); Fri, 17 Jun 2016 17:07:34 -0400 Received: from mga01.intel.com ([192.55.52.88]:50319 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbcFQVHc (ORCPT ); Fri, 17 Jun 2016 17:07:32 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,485,1459839600"; d="scan'208";a="978322555" Message-ID: <1466197745.24319.106.camel@linux.intel.com> Subject: Re: [PATCH 2/6] hid: intel_ish-hid: ISH Transport layer From: Srinivas Pandruvada To: Jiri Kosina Cc: jic23@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, chaya.golan@intel.com, daniel.drubin@intel.com, A.Bhattacharya@ulg.ac.be Date: Fri, 17 Jun 2016 14:09:05 -0700 In-Reply-To: References: <1465647219-7798-1-git-send-email-srinivas.pandruvada@linux.intel.com> <1465647219-7798-3-git-send-email-srinivas.pandruvada@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2 (3.18.5.2-1.fc23) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2016-06-17 at 22:45 +0200, Jiri Kosina wrote: > On Fri, 17 Jun 2016, Jiri Kosina wrote: > > > > +struct ishtp_cl_device *ishtp_bus_add_device(struct ishtp_device > *dev, > > > +                                        uuid_le uuid, char > *name) > > > +{ > >  > > Should be static. > > Actually, going deeper into the code and trying to untangle all the  > dependencies, there are quite a few more in other ipc.c, hid- > client.c,  > etc. Please fix that globally in the next iteration. > Great. I ran sparse and identified few more. I will fix this is new iteration. One thing I am still wondering is that the current ISH model is built in only. Some distros configure CONFIG_HID as module. So in Kconfig in  drivers/hid/intel-ish-hid/, I need to add "select HID". What do you think about this? Unless you are in middle of review, I want to go ahead and send v2. Thanks, Srinivas > Thanks, > > --  > Jiri Kosina > SUSE Labs >