diff mbox series

[6/7] xsm/flask: Use unsigned int instead of plain unsigned

Message ID 20220627131543.410971-7-michal.orzel@arm.com (mailing list archive)
State New, archived
Headers show
Series xen/arm: use unsigned int instead of plain unsigned | expand

Commit Message

Michal Orzel June 27, 2022, 1:15 p.m. UTC
This is just for the style and consistency reasons as the former is
being used more often than the latter.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
---
 xen/xsm/flask/ss/avtab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jan Beulich June 27, 2022, 1:26 p.m. UTC | #1
On 27.06.2022 15:15, Michal Orzel wrote:
> This is just for the style and consistency reasons as the former is
> being used more often than the latter.
> 
> Signed-off-by: Michal Orzel <michal.orzel@arm.com>

Acked-by: Jan Beulich <jbeulich@suse.com>
Daniel P. Smith June 27, 2022, 7:19 p.m. UTC | #2
On 6/27/22 09:15, Michal Orzel wrote:
> This is just for the style and consistency reasons as the former is
> being used more often than the latter.
> 
> Signed-off-by: Michal Orzel <michal.orzel@arm.com>
> ---
>  xen/xsm/flask/ss/avtab.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/xsm/flask/ss/avtab.c b/xen/xsm/flask/ss/avtab.c
> index 017f5183de..9761d028d8 100644
> --- a/xen/xsm/flask/ss/avtab.c
> +++ b/xen/xsm/flask/ss/avtab.c
> @@ -349,7 +349,7 @@ int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
>      struct avtab_key key;
>      struct avtab_datum datum;
>      int i, rc;
> -    unsigned set;
> +    unsigned int set;
>  
>      memset(&key, 0, sizeof(struct avtab_key));
>      memset(&datum, 0, sizeof(struct avtab_datum));

Is this not v2? Jason gave a Rb on the similar patch if I am not mistaken.

v/r,
dps
Michal Orzel June 28, 2022, 6:28 a.m. UTC | #3
Hi Daniel,

On 27.06.2022 21:19, Daniel P. Smith wrote:
> 
> On 6/27/22 09:15, Michal Orzel wrote:
>> This is just for the style and consistency reasons as the former is
>> being used more often than the latter.
>>
>> Signed-off-by: Michal Orzel <michal.orzel@arm.com>
>> ---
>>  xen/xsm/flask/ss/avtab.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/xen/xsm/flask/ss/avtab.c b/xen/xsm/flask/ss/avtab.c
>> index 017f5183de..9761d028d8 100644
>> --- a/xen/xsm/flask/ss/avtab.c
>> +++ b/xen/xsm/flask/ss/avtab.c
>> @@ -349,7 +349,7 @@ int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
>>      struct avtab_key key;
>>      struct avtab_datum datum;
>>      int i, rc;
>> -    unsigned set;
>> +    unsigned int set;
>>  
>>      memset(&key, 0, sizeof(struct avtab_key));
>>      memset(&datum, 0, sizeof(struct avtab_datum));
> 
> Is this not v2? Jason gave a Rb on the similar patch if I am not mistaken.
> 
No it is not. This applies to all the patches in this series that was pushed as
a new one due to different justification/commit titles/commit msgs (see cover letter).

> v/r,
> dps

Cheers,
Michal
diff mbox series

Patch

diff --git a/xen/xsm/flask/ss/avtab.c b/xen/xsm/flask/ss/avtab.c
index 017f5183de..9761d028d8 100644
--- a/xen/xsm/flask/ss/avtab.c
+++ b/xen/xsm/flask/ss/avtab.c
@@ -349,7 +349,7 @@  int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
     struct avtab_key key;
     struct avtab_datum datum;
     int i, rc;
-    unsigned set;
+    unsigned int set;
 
     memset(&key, 0, sizeof(struct avtab_key));
     memset(&datum, 0, sizeof(struct avtab_datum));