All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Jones <pjones@redhat.com>
To: Konrad Rzeszutek Wilk <konrad@darnok.org>
Cc: Mike Christie <michaelc@cs.wisc.edu>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	open-iscsi@googlegroups.com
Subject: Re: [PATCH 2/2] RFC: iscsi ibft: convert iscsi_ibft module to iscsi boot lib
Date: Tue, 13 Apr 2010 10:59:26 -0400	[thread overview]
Message-ID: <4BC486CE.1040503@redhat.com> (raw)
In-Reply-To: <201004122236.13843.konrad@darnok.org>

On 04/12/2010 10:36 PM, Konrad Rzeszutek Wilk wrote:
> On Monday 12 April 2010 22:32:33 Mike Christie wrote:
>> On 04/12/2010 09:21 PM, Konrad Rzeszutek Wilk wrote:
>>>> + * Helper routiners to check to determine if the entry is valid
>>>> + * in the proper iBFT structure.
>>>> + */
>>>> +static mode_t ibft_check_nic_for(void *data, int type)
>>>> +{
>>>> +	struct ibft_kobject *entry = data;
>>>> +	struct ibft_nic *nic = entry->nic;
>>>> +	mode_t rc = 0;
>>>> +
>>>> +	switch (type) {
>>>> +	case ISCSI_BOOT_ETH_INDEX:
>>>> +	case ISCSI_BOOT_ETH_FLAGS:
>>>> +		rc = 1;
>>>
>>> Did you mean for that value?
>>>
>>>> +		break;
>>>> +	case ISCSI_BOOT_ETH_IP_ADDR:
>>>> +		if (memcmp(nic->ip_addr, nulls, sizeof(nic->ip_addr)))
>>>> +			rc = S_IRUGO;
>>>> +		break;
>>>> +	case ISCSI_BOOT_ETH_SUBNET_MASK:
>>>> +		if (nic->subnet_mask_prefix)
>>>> +			rc = S_IRUGO;
>>>> +		break;
>>>> +	case ISCSI_BOOT_ETH_ORIGIN:
>>>> +		rc = 1;
>>>
>>> and this one as well?
>>
>> I did not. They should be S_IRUGO. Do you want me to resubmit the
>> patches or are you just going to edit those two lines if you merge them?
> 
> No need to resend them (unless Peter eyes found something I missed).

Nope, that's all I see.

-- 
        Peter

Sanity's just a one trick pony anyway.  You only get one trick -- rational
thinking -- but when you're good and crazy, the sky's the limit!
		-- The Tick

  reply	other threads:[~2010-04-13 15:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 18:06 [PATCH 1/2] RFC: iscsi ibft: separate ibft parsing from sysfs interface michaelc
     [not found] ` <1271095578-4212-1-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2010-04-12 18:06   ` [PATCH 2/2] RFC: iscsi ibft: convert iscsi_ibft module to iscsi boot lib michaelc-hcNo3dDEHLuVc3sceRu5cw
2010-04-12 18:06     ` michaelc
2010-04-13  2:21     ` Konrad Rzeszutek Wilk
     [not found]       ` <201004122221.05326.konrad-Gq0aWv8utHQdnm+yROfE0A@public.gmane.org>
2010-04-13  2:32         ` Mike Christie
2010-04-13  2:32           ` Mike Christie
2010-04-13  2:36           ` Konrad Rzeszutek Wilk
2010-04-13 14:59             ` Peter Jones [this message]
2010-04-13  2:20 ` [PATCH 1/2] RFC: iscsi ibft: separate ibft parsing from sysfs interface Konrad Rzeszutek Wilk
2010-08-11 15:54   ` Randy Dunlap
2010-08-11 16:04     ` Randy Dunlap

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=4BC486CE.1040503@redhat.com \
    --to=pjones@redhat.com \
    --cc=konrad@darnok.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michaelc@cs.wisc.edu \
    --cc=open-iscsi@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.