From: Dan Carpenter <dan.carpenter@oracle.com>
To: Volokh Konstantin <volokh84@gmail.com>
Cc: my84@bk.ru, devel@driverdev.osuosl.org, hverkuil@xs4all.nl,
gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
mchehab@infradead.org, dhowells@redhat.com,
justinmattock@gmail.com, linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] staging: media: go7007: Adlink MPG24 board
Date: Sun, 13 May 2012 22:21:48 +0300 [thread overview]
Message-ID: <20120513192148.GE16984@mwanda> (raw)
In-Reply-To: <1336935162-5068-1-git-send-email-volokh84@gmail.com>
On Sun, May 13, 2012 at 10:52:41PM +0400, Volokh Konstantin wrote:
> This patch applies only for Adlink MPG24 board with go7007, all these changes were tested for continuous loading & restarting modes
>
> This is minimal changes needed for start up go7007 to work correctly
> in 3.4 branch
>
> Changes:
> - When go7007 reset device, i2c was not working (need rewrite GPIO5)
> - As wis2804 has i2c_addr=0x00/*really*/, so Need set I2C_CLIENT_TEN flag for validity
> - some main nonzero initialization, rewrites with kzalloc instead kmalloc
> - STATUS_SHUTDOWN was placed in incorrect place, so if firmware wasn`t loaded, we
> failed v4l2_device_unregister with kernel panic (OOPS)
> - some new v4l2 style features as call_all(...s_stream...) for using subdev calls
>
In some ways, yes, I can see that this seems like one thing "Make
go7007 work correctly", but really it would be better if each of
the bullet points was its own patch.
The changelogs should explain why you do something not what you do.
We can all see that kmalloc() was changed to kzalloc() but why? Is
their and information leak for example? That might have security
implications and be good thing to know about.
regards,
dan carpenter
next prev parent reply other threads:[~2012-05-13 19:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-13 18:52 [PATCH 1/2] staging: media: go7007: Adlink MPG24 board Volokh Konstantin
2012-05-13 18:52 ` [PATCH 2/2] " Volokh Konstantin
2012-05-13 19:31 ` Dan Carpenter
2012-05-13 19:21 ` Dan Carpenter [this message]
2012-05-14 8:09 ` [PATCH 1/2] " volokh
2012-05-14 9:04 ` Dan Carpenter
2012-05-14 9:50 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120513192148.GE16984@mwanda \
--to=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=dhowells@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=hverkuil@xs4all.nl \
--cc=justinmattock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=my84@bk.ru \
--cc=volokh84@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).