Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755878AbbFUQLw (ORCPT ); Sun, 21 Jun 2015 12:11:52 -0400 Received: from mout.gmx.net ([212.227.17.22]:55776 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752928AbbFUQLn (ORCPT ); Sun, 21 Jun 2015 12:11:43 -0400 Date: Sun, 21 Jun 2015 18:11:26 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: Robert Jarzmik cc: Mauro Carvalho Chehab , Jiri Kosina , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Mack , Robert Jarzmik Subject: Re: [PATCH 3/4] media: pxa_camera: trivial move of dma irq functions In-Reply-To: <87y4je831c.fsf@belgarion.home> Message-ID: References: <1426980085-12281-1-git-send-email-robert.jarzmik@free.fr> <1426980085-12281-4-git-send-email-robert.jarzmik@free.fr> <87y4je831c.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Provags-ID: V03:K0:mo0zJECZl9su6aRh6+KTs4OfbpGpax1rbFK42HRf5JPL4RURRUG iq7Ss4VCk43p2fSk1IOWqdJPZ5IVL5tsrz16f9ndqVCTw1ZWwyrS4R/2sYjp0AL5xWMsLcf k1KuBn4vyFx4LgUfClBSsicORIduS6KgCcqJy0kdgttYctk5znvl4z0cqObO5Rdqti4xBXF GOlDQ04x4CnMQURIjhY+A== X-UI-Out-Filterresults: notjunk:1;V01:K0:hPTpVCNEUPw=:hHNuS1jl1IMcnlQQBEqwPt pwvEqYd2kfg6u3AczL7gC1xvEyix9RftuvFIAibEgpUXISWIVhgKULG5stDfON86RgLilxT+/ 5cpPxsXGmSk5MY5An5mF5kjO/AyymiRdjwy1r5RXfAKv3fwQzkxaJHO5d8pnNa0h1C94hnxO1 OiRaXs2vqjd4YUOmpGSKQQXbJVlC+ImxeuVVkPXoYpON7YnbWxC8tXWPRoCLO0ZUm8z9XjCnY HmVRSe0CkuucFQgCRp/YjMcByDd+cBjRW5ynsJLkwg6KwbpazBrkdljaU33HvTzLR+hUGxUoZ 9To633niHVTEpIAFZrWXDBprj99KasHUlpVNgSKyDgAtKhsAYmD0/h3gwnlUzf/PAtHfqtp2x MdC4nHVX/DVrCuTcsvPQyW2TpyKae/l02Frygq4bQCt0vzJX/PUxXE8JX/j8LaP4BMogHTozd bjc8XTAFsITGOeWto7KajER2eMS9YZ8uLo9SylXtb+VrSfTSWkr7B9raH714PvEM4jX3+O+iZ NMWWpInZwf6pmgtxOcGfyOD2fBrMK/+ng27c8HeYcymqYDV4mH4VhWKxA0baFRkTP23d3R/JW JEzZraUqqM/cJJAom8eDoTJw74hJJOZz07DKMsJkqiXcfNq8OuHUramoyFOD799RXsnLu28ua 0JRDgGy9HBdonH2GwWhOc01S0WIfRPJrgXTkULX4zdFddy1lfldA7+zzlbLjweYsx7Kk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 25 On Sat, 20 Jun 2015, Robert Jarzmik wrote: > Guennadi Liakhovetski writes: > > >> +static void pxa_camera_dma_irq(struct pxa_camera_dev *pcdev, > >> + enum pxa_camera_active_dma act_dma); > >> + > >> +static void pxa_camera_dma_irq_y(void *data) > > > > Wait, how is this patch trivial? You change pxa_camera_dma_irq_?() > > prototypes, which are used as PXA DMA callbacks. Does this mean, that > > either before or after this patch compilation is broken? > > Jeez you're right. > So I can either fold that with patch 4, or try to rework it somehow ... How about letting that patch do exactly what it says it does? Just move functions up in the file if you need them there, without changing them, and only change them when it's needed? Thanks Guennadi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/