Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1441955

Re: [PATCH v4] [media] pci: Add tw5864 driver

From Andrey Utkin <andrey_utkin@fastmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4] [media] pci: Add tw5864 driver
Date 2016-07-13 04:00 +0200
Message-ID <rUhCV-4Fk-7@gated-at.bofh.it> (permalink)
References <rTLa2-hv-13@gated-at.bofh.it> <rTMz7-1cS-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 11, 2016 at 09:40:53AM -0700, Joe Perches wrote:
> Each of these blocks will start with the dev_<level> prefix
> and the subsequent lines will not have the same prefix

Yes. I have checked how it looks before submitting, but I didn't see
this as a problem. I don't mind changing that (anyway I have found few
micro-issues with checkpatch --strict and would like to resubmit), but
would like to hear some second opinion.

> It also might be better to issue something like a single
> line dev_warn referring to the driver code and just leave
> this comment in the driver sources.
> 
> Something like:
> 
> 	dev_warn(&pci_dev->dev,
> 		"This driver has known defects in video quality\n");

Things get complicated if you consider mainstream distros and their
years-behind kernels. The simplest way to preserve correspondence
between state of driver and such notice is to contain the notice in the
compiled driver. I hope the state of affairs will change to better
someday :)

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4] [media] pci: Add tw5864 driver Joe Perches <joe@perches.com> - 2016-07-11 18:50 +0200
  Re: [PATCH v4] [media] pci: Add tw5864 driver Andrey Utkin <andrey_utkin@fastmail.com> - 2016-07-13 04:00 +0200

csiph-web