mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/5] sound: pci: ctxfi: added reference of snd_card
Date: Mon, 22 Sep 2014 10:21:19 +0200	[thread overview]
Message-ID: <s5hsijk5am8.wl-tiwai@suse.de> (raw)
In-Reply-To: <20140922081541.GC4870@sudip-PC>

At Mon, 22 Sep 2014 13:45:41 +0530,
Sudip Mukherjee wrote:
> 
> On Mon, Sep 22, 2014 at 09:04:53AM +0200, Takashi Iwai wrote:
> > At Sun, 21 Sep 2014 21:33:37 +0530,
> > Sudip Mukherjee wrote:
> > > 
> > > added and initialized a pointer of snd_card in the struct hw to get a reference of
> > > the card in other functions
> > 
> > You need to explain why this change is needed.  The above text shows
> > what it'd do, but it doesn't give any explanation to convince why this
> > patch must be merged in.  In this case, it's a preliminary patch for
> > the changes to convert to dev_*() later.  It's the most important bit,
> > so don't forget it.
> >
> then do i mention in the commit that it is the preliminary patch for the later changes to dev_* ?

If the purpose of this patch is so, just write what it'll be used
for.

> i was thinking that we can get a reference of the card from other functions which are using struct hw
> is a reason by itself.

If the purpose of this patch is rather broader, just write what it'll
be used for.

Do you see what was missing?


Takashi

  reply	other threads:[~2014-09-22  8:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 16:03 Sudip Mukherjee
2014-09-21 16:03 ` [PATCH v3 2/5] sound: pci: ctxfi: ctatc.c: added reference to card Sudip Mukherjee
2014-09-21 16:03 ` [PATCH v3 3/5] sound: pci: ctxfi: pr_* replaced with dev_* Sudip Mukherjee
2014-09-22  7:08   ` Takashi Iwai
2014-09-22  8:08     ` Sudip Mukherjee
2014-09-21 16:03 ` [PATCH v3 4/5] sound: pci: ctxfi: cthw20k2.c: sparse warning of incorrect type Sudip Mukherjee
2014-09-22  7:10   ` Takashi Iwai
2014-09-22  8:09     ` Sudip Mukherjee
2014-09-21 16:03 ` [PATCH v3 5/5] sound: pci: ctxfi: cthw20k1.c: " Sudip Mukherjee
2014-09-22  7:04 ` [PATCH v3 1/5] sound: pci: ctxfi: added reference of snd_card Takashi Iwai
2014-09-22  8:15   ` Sudip Mukherjee
2014-09-22  8:21     ` Takashi Iwai [this message]
2014-09-22  8:46       ` Sudip Mukherjee

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=s5hsijk5am8.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=sudipm.mukherjee@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

Powered by JetHome