All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Powertop] [PATCH POWERTOP] Remove temporary file created during calibration
@ 2014-07-01 12:23 Amit Kucheria
  0 siblings, 0 replies; 4+ messages in thread
From: Amit Kucheria @ 2014-07-01 12:23 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

Mohammad,

This fix should go upstream. cc'ing the powertop list.

Regards,
Amit

On Thu, Jun 26, 2014 at 12:27 PM, Mohammad Merajul Islam Molla
<meraj.enigma(a)gmail.com> wrote:
> powertop creates temporary file in /tmp folder during calibration.
> Simply closing does not remove these files.
> Instead use unlink to remove the file.
>
> diff --git a/src/calibrate/calibrate.cpp b/src/calibrate/calibrate.cpp
> index db368e0..1336c3f 100644
> --- a/src/calibrate/calibrate.cpp
> +++ b/src/calibrate/calibrate.cpp
> @@ -242,7 +242,7 @@ static void *burn_disk(void *dummy)
>                 write(fd, buffer, 64*1024);
>                 fdatasync(fd);
>         }
> -       close(fd);
> +       unlink(filename);
>         return NULL;
>  }
>
>
>
> --
> Thanks,
> -Meraj
>
> _______________________________________________
> linaro-dev mailing list
> linaro-dev(a)lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Powertop] [PATCH POWERTOP] Remove temporary file created during calibration
@ 2014-07-28 18:13 Alexandra Yates
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandra Yates @ 2014-07-28 18:13 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

Hi Mohammad and Amit,

> Mohammad,
>
> This fix should go upstream. cc'ing the powertop list.
>
> Regards,
> Amit
>
> On Thu, Jun 26, 2014 at 12:27 PM, Mohammad Merajul Islam Molla
> <meraj.enigma(a)gmail.com> wrote:
>> powertop creates temporary file in /tmp folder during calibration.
>> Simply closing does not remove these files.
>> Instead use unlink to remove the file.
>>
>> diff --git a/src/calibrate/calibrate.cpp b/src/calibrate/calibrate.cpp
>> index db368e0..1336c3f 100644
>> --- a/src/calibrate/calibrate.cpp
>> +++ b/src/calibrate/calibrate.cpp
>> @@ -242,7 +242,7 @@ static void *burn_disk(void *dummy)
>>                 write(fd, buffer, 64*1024);
>>                 fdatasync(fd);
>>         }
>> -       close(fd);
>> +       unlink(filename);
>>         return NULL;
>>  }
>>
>>
>>
>> --
>> Thanks,
>> -Meraj
>>
>> _______________________________________________
>> linaro-dev mailing list
>> linaro-dev(a)lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-dev
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
>

Please send your patch against the tip of the tree.  I'm having
difficulties applying it.  Here is the error message:

Patch is empty.  Was it split wrong?
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".

Thank you,
Alexandra.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Powertop] [PATCH POWERTOP] Remove temporary file created during calibration
@ 2014-08-04 13:54 Mohammad Merajul Islam Molla
  0 siblings, 0 replies; 4+ messages in thread
From: Mohammad Merajul Islam Molla @ 2014-08-04 13:54 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

Hi Alexandra,

Sorry for late reply due to holidays. I have resent the patches. Please check.

--
Thanks,
-Meraj

On Tue, Jul 29, 2014 at 12:13 AM, Alexandra Yates
<alexandra.yates(a)linux.intel.com> wrote:
> Hi Mohammad and Amit,
>
>> Mohammad,
>>
>> This fix should go upstream. cc'ing the powertop list.
>>
>> Regards,
>> Amit
>>
>> On Thu, Jun 26, 2014 at 12:27 PM, Mohammad Merajul Islam Molla
>> <meraj.enigma(a)gmail.com> wrote:
>>> powertop creates temporary file in /tmp folder during calibration.
>>> Simply closing does not remove these files.
>>> Instead use unlink to remove the file.
>>>
>>> diff --git a/src/calibrate/calibrate.cpp b/src/calibrate/calibrate.cpp
>>> index db368e0..1336c3f 100644
>>> --- a/src/calibrate/calibrate.cpp
>>> +++ b/src/calibrate/calibrate.cpp
>>> @@ -242,7 +242,7 @@ static void *burn_disk(void *dummy)
>>>                 write(fd, buffer, 64*1024);
>>>                 fdatasync(fd);
>>>         }
>>> -       close(fd);
>>> +       unlink(filename);
>>>         return NULL;
>>>  }
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> -Meraj
>>>
>>> _______________________________________________
>>> linaro-dev mailing list
>>> linaro-dev(a)lists.linaro.org
>>> http://lists.linaro.org/mailman/listinfo/linaro-dev
>> _______________________________________________
>> PowerTop mailing list
>> PowerTop(a)lists.01.org
>> https://lists.01.org/mailman/listinfo/powertop
>>
>
> Please send your patch against the tip of the tree.  I'm having
> difficulties applying it.  Here is the error message:
>
> Patch is empty.  Was it split wrong?
> If you would prefer to skip this patch, instead run "git am --skip".
> To restore the original branch and stop patching run "git am --abort".
>
> Thank you,
> Alexandra.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Powertop] [PATCH POWERTOP] Remove temporary file created during calibration
@ 2014-08-23  0:18 Alexandra Yates
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandra Yates @ 2014-08-23  0:18 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]


> Hi Alexandra,
>
> Sorry for late reply due to holidays. I have resent the patches. Please
> check.
>
> --
> Thanks,
> -Meraj
>
> On Tue, Jul 29, 2014 at 12:13 AM, Alexandra Yates
> <alexandra.yates(a)linux.intel.com> wrote:
>> Hi Mohammad and Amit,
>>
>>> Mohammad,
>>>
>>> This fix should go upstream. cc'ing the powertop list.
>>>
>>> Regards,
>>> Amit
>>>
>>> On Thu, Jun 26, 2014 at 12:27 PM, Mohammad Merajul Islam Molla
>>> <meraj.enigma(a)gmail.com> wrote:
>>>> powertop creates temporary file in /tmp folder during calibration.
>>>> Simply closing does not remove these files.
>>>> Instead use unlink to remove the file.
>>>>
>>>> diff --git a/src/calibrate/calibrate.cpp b/src/calibrate/calibrate.cpp
>>>> index db368e0..1336c3f 100644
>>>> --- a/src/calibrate/calibrate.cpp
>>>> +++ b/src/calibrate/calibrate.cpp
>>>> @@ -242,7 +242,7 @@ static void *burn_disk(void *dummy)
>>>>                 write(fd, buffer, 64*1024);
>>>>                 fdatasync(fd);
>>>>         }
>>>> -       close(fd);
>>>> +       unlink(filename);
>>>>         return NULL;
>>>>  }
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> -Meraj
>>>>
>>>> _______________________________________________
>>>> linaro-dev mailing list
>>>> linaro-dev(a)lists.linaro.org
>>>> http://lists.linaro.org/mailman/listinfo/linaro-dev
>>> _______________________________________________
>>> PowerTop mailing list
>>> PowerTop(a)lists.01.org
>>> https://lists.01.org/mailman/listinfo/powertop
>>>
>>
>> Please send your patch against the tip of the tree.  I'm having
>> difficulties applying it.  Here is the error message:
>>
>> Patch is empty.  Was it split wrong?
>> If you would prefer to skip this patch, instead run "git am --skip".
>> To restore the original branch and stop patching run "git am --abort".
>>
>> Thank you,
>> Alexandra.
>

Thank you for your patches. They were successfully added to our next tree.

Thank you,
Alexandra.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-23  0:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-23  0:18 [Powertop] [PATCH POWERTOP] Remove temporary file created during calibration Alexandra Yates
  -- strict thread matches above, loose matches on Subject: below --
2014-08-04 13:54 Mohammad Merajul Islam Molla
2014-07-28 18:13 Alexandra Yates
2014-07-01 12:23 Amit Kucheria

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.