From patchwork Wed Apr 8 23:11:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 17286 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n38NBrde004770 for ; Wed, 8 Apr 2009 23:11:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753678AbZDHXLv (ORCPT ); Wed, 8 Apr 2009 19:11:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753890AbZDHXLv (ORCPT ); Wed, 8 Apr 2009 19:11:51 -0400 Received: from fk-out-0910.google.com ([209.85.128.189]:49834 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753743AbZDHXLu convert rfc822-to-8bit (ORCPT ); Wed, 8 Apr 2009 19:11:50 -0400 Received: by fk-out-0910.google.com with SMTP id 18so163374fkq.5 for ; Wed, 08 Apr 2009 16:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IeXoGVGuidH575I3AKVglTaQgBjyMyrurJAaIuCbI+I=; b=S6LyRpTXv5jxZzZQDBdJ3P1c74JgzTOOMsRK3azLBenq1qtEbT3t9OR2pLHW6S5RZC WX9X6XQU4bvtCNY3kmhy1vgvt5badUk9AXp+9T97RgHKtOYC5v59ICY+GXroBY4huX+2 okGd9CviZwDI+fnwOkOVlHOFR2ci6yF9zbzNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LDzuOeXe19T/BdaKU+tBvosHp++qmUnD3nPDOIkVl+bST0kVvqv5pdwb7nw4xy+d7/ pRm7259aDa7aOaIA5/wEU/1i0QjUjXkbbjuy/iWuonfyz66VzZFxHv7zuh85BkMbhxX2 satSU2bCGdhRwpzZvwMer0GDD19w1qvSLcjqc= MIME-Version: 1.0 Received: by 10.103.212.2 with SMTP id o2mr892151muq.131.1239232308088; Wed, 08 Apr 2009 16:11:48 -0700 (PDT) In-Reply-To: <61526.207.214.87.58.1239228654.squirrel@webmail.xs4all.nl> References: <61526.207.214.87.58.1239228654.squirrel@webmail.xs4all.nl> Date: Thu, 9 Apr 2009 03:11:48 +0400 Message-ID: <208cbae30904081611p604ec790kbbd2fac4daf358c3@mail.gmail.com> Subject: Re: [cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: WARNINGS From: Alexey Klimov To: Hans Verkuil Cc: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Thu, Apr 9, 2009 at 2:10 AM, Hans Verkuil wrote: > > Can someone take a look at these warnings and errors? Looking at the log > these seem to be pretty easy to fix (compat stuff for the most part). > > I don't have the time for this for several more days, so I'd appreciate it > if someone could take a look at this for me. > > Thanks, > >        Hans Well, i already posted about problems with compat.h and usb_endpoint_type. The subject was "trouble with v4l-dvb compilation, compat.h: redefinition of 'usb_endpoint_type". Here it is: http://www.spinics.net/lists/linux-media/msg03965.html I wish i know how to patch that thing right but i don't know that. My cuurent workaroung for that is: but as i i understand it's bad. If someone can repair it correctly it will be cool. diff -r 77ebdc14cc24 v4l/compat.h --- a/v4l/compat.h Wed Apr 08 14:01:19 2009 -0300 +++ b/v4l/compat.h Thu Apr 09 03:08:07 2009 +0400 @@ -392,11 +392,13 @@ } #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) #ifdef NEED_USB_ENDPOINT_TYPE static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) { return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; } +#endif #endif #endif /* __LINUX_USB_H */