Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1126 → Rev 1179

/drivers/video/drm/idr.c
27,6 → 27,10
*/
 
#include <linux/idr.h>
#include <stdlib.h>
#include "drm.h"
#include "drmP.h"
#include "drm_crtc.h"
 
#define ADDR "=m" (*(volatile long *) addr)
 
418,7 → 422,6
int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id)
{
int rv;
 
rv = idr_get_new_above_int(idp, ptr, starting_id);
/*
* This is a cheap hack until the IDR code can be fixed to
425,7 → 428,10
* return proper error values.
*/
if (rv < 0)
{
dbgprintf("fail\n");
return _idr_rc_to_errno(rv);
};
*id = rv;
return 0;
}